From ec67bf4c5b949da23de508ee5cf01e8142c44956 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Wed, 18 Feb 2015 12:37:00 -0700 Subject: [PATCH] strict boolean compare --- system/src/Grav/Common/Page/Page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index 4d6c6169c..a75f41682 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -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]));