From 7d3bfb0aabab03d6cb8bb0826f9075dd7d0fabf4 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 26 Apr 2016 18:57:50 +0200 Subject: [PATCH] Fix condition in PageLocationManager::init() --- .../install/files/lib/system/page/PageLocationManager.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/page/PageLocationManager.class.php b/wcfsetup/install/files/lib/system/page/PageLocationManager.class.php index 845a2c5b07..7cf42a1736 100644 --- a/wcfsetup/install/files/lib/system/page/PageLocationManager.class.php +++ b/wcfsetup/install/files/lib/system/page/PageLocationManager.class.php @@ -52,7 +52,7 @@ class PageLocationManager extends SingletonFactory { } } - if ($pageID !== null) { + if ($page !== null) { $this->stack[] = [ 'identifier' => $page->identifier, 'link' => $page->getLink(), -- 2.20.1