Fix duplicate html tag
This commit is contained in:
parent
bab5c41b98
commit
b789a50ce6
@ -453,7 +453,7 @@ function dolSavePageContent($filetpl, $object, $objectpage)
|
||||
$tplcontent.= '<!-- Include HTML header from common file -->'."\n";
|
||||
$tplcontent.= '<?php print file_get_contents(DOL_DATA_ROOT."/website/'.$object->ref.'/htmlheader.html"); ?>'."\n";
|
||||
$tplcontent.= '<!-- Include HTML header from page header block -->'."\n";
|
||||
$tplcontent.= preg_match('/<\/?html>/', '', $objectpage->htmlheader)."\n";
|
||||
$tplcontent.= preg_replace('/<\/?html>/', '', $objectpage->htmlheader)."\n";
|
||||
$tplcontent.= '</head>'."\n";
|
||||
|
||||
$tplcontent.= '<!-- File generated by Dolibarr website module editor -->'."\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user