diff --git a/core/Requirements.php b/core/Requirements.php index 781e1110910..60fe490d5a2 100644 --- a/core/Requirements.php +++ b/core/Requirements.php @@ -636,7 +636,7 @@ function restore() { function includeInHTML($templateFile, $content) { if(isset($_GET['debug_profile'])) Profiler::mark("Requirements::includeInHTML"); - if(strpos($content, 'css || $this->javascript || $this->customCSS || $this->customScript || $this->customHeadTags)) { + if((strpos($content, '') !== false || strpos($content, 'css || $this->javascript || $this->customCSS || $this->customScript || $this->customHeadTags)) { $requirements = ''; $jsRequirements = '';