Doc
This commit is contained in:
parent
bbbbb56c64
commit
8b06f08318
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue