From: Matthias Schmidt Date: Tue, 26 Apr 2016 16:57:50 +0000 (+0200) Subject: Fix condition in PageLocationManager::init() X-Git-Tag: 3.0.0_Beta_1~1808^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7d3bfb0aabab03d6cb8bb0826f9075dd7d0fabf4;p=GitHub%2FWoltLab%2FWCF.git Fix condition in PageLocationManager::init() --- 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(),