From 47c6d27ac63454ff1ceb5225d20bf8405bc27805 Mon Sep 17 00:00:00 2001 From: ruan Date: Thu, 24 Sep 2015 09:49:34 +0200 Subject: [PATCH] Okay, it's a string --- includes/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/page.php b/includes/page.php index 2ad05ad..9d7207f 100644 --- a/includes/page.php +++ b/includes/page.php @@ -356,6 +356,6 @@ class Page { public function active($row) { $active = $row['active']; - return $active === 1 || $active === true; + return $active === 1 || $active === true || $active === "1"; } }