strict boolean compare

This commit is contained in:
Andy Miller
2015-02-18 12:37:00 -07:00
parent 127fe7fa2a
commit ec67bf4c5b

View File

@@ -373,7 +373,7 @@ class Page
$twig_already_processed = false;
// if no cached-content run everything
if ($this->content == false) {
if ($this->content === false) {
$this->content = $this->raw_content;
self::getGrav()->fireEvent('onPageContentRaw', new Event(['page' => $this]));