Fix omitting index.php for frontend links in the acp
authorJoshua Rüsweg <josh@bastelstu.be>
Thu, 1 Feb 2018 11:55:19 +0000 (12:55 +0100)
committerJoshua Rüsweg <josh@bastelstu.be>
Thu, 1 Feb 2018 12:01:52 +0000 (13:01 +0100)
wcfsetup/install/files/lib/system/request/route/DynamicRequestRoute.class.php

index 0c62d96d2b71c9ff85ec553d1a8410cfb5680e41..fc6a61f049657137cee9f5d474812a50ed93ce75 100644 (file)
@@ -204,7 +204,7 @@ class DynamicRequestRoute implements IRequestRoute {
                        }
                }
                
-               if ($this->isACP || !URL_OMIT_INDEX_PHP) {
+               if ($this->isACP() || !URL_OMIT_INDEX_PHP) {
                        if (!empty($link)) {
                                $link = 'index.php?' . $link;
                        }