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

fix for version incompatibility

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