This commit is contained in:
Laurent Destailleur 2026-04-29 02:48:13 +02:00
parent bbbbb56c64
commit 8b06f08318

View file

@ -296,6 +296,7 @@ class WebsitePage extends CommonObject
}
// Check there is no PHP content into the imported file (must be only HTML + JS)
// Note: This one may be uselss because this->htmlheader should be retrieved now using GETPOST(..., 'restricthtmlallowlinkscript') so without PHP content. We keep it in case of.
$phpcontent = dolKeepOnlyPhpCode($this->htmlheader);
if ($phpcontent) {