From e279817839909c72e436023b1efb04e903fd454d Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Thu, 28 Jan 2016 10:59:22 +0100 Subject: [PATCH] :bug: Lookup the correct property for the home route --- system/src/Grav/Common/Page/Pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Page/Pages.php b/system/src/Grav/Common/Page/Pages.php index 1dc8c84b4..bb10619d7 100644 --- a/system/src/Grav/Common/Page/Pages.php +++ b/system/src/Grav/Common/Page/Pages.php @@ -589,7 +589,7 @@ class Pages */ public static function getHomeRoute() { - if (empty(self::$home)) { + if (empty(self::$home_route)) { $grav = Grav::instance(); /** @var Config $config */