Skip to content
Snippets Groups Projects
Commit 2af1d21b authored by Tim Steiner's avatar Tim Steiner
Browse files

fix for version incompatibility

parent 4aeb23b5
No related branches found
No related tags found
No related merge requests found
...@@ -279,7 +279,7 @@ class ApprovalChainManagerController extends Nmc_Controller_Action ...@@ -279,7 +279,7 @@ class ApprovalChainManagerController extends Nmc_Controller_Action
$xhtml = $out->render($template); $xhtml = $out->render($template);
$dom = new DOMDocument(); $dom = new DOMDocument();
$dom->loadHTML($xhtml); $dom->loadHTML($xhtml);
$dom->childNodes->item(1)->setAttribute('xmlns', 'http://www.w3.org/1999/xhtml'); $dom->childNodes->item(1)->data .= 'xmlns="http://www.w3.org/1999/xhtml"';
header('Content-type: application/xhtml+xml'); header('Content-type: application/xhtml+xml');
echo $dom->saveXML(); echo $dom->saveXML();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment