Fix condition in PageLocationManager::init()
authorMatthias Schmidt <gravatronics@live.com>
Tue, 26 Apr 2016 16:57:50 +0000 (18:57 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 26 Apr 2016 16:57:50 +0000 (18:57 +0200)
wcfsetup/install/files/lib/system/page/PageLocationManager.class.php

index 845a2c5b0739f5b7f5076ace362c18a01fbd189b..7cf42a173667dc37baba4862dbc153071345f2b8 100644 (file)
@@ -52,7 +52,7 @@ class PageLocationManager extends SingletonFactory {
                        }
                }
                
-               if ($pageID !== null) {
+               if ($page !== null) {
                        $this->stack[] = [
                                'identifier' => $page->identifier,
                                'link' => $page->getLink(),