From 70f366ce1d102e4712af2408e6dcf5432b1926c2 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 21 Jun 2021 02:03:17 +0200 Subject: Use getEntityURL method of Application class This commit replaces all calls to "$Item->getURL()" with calls to the previously added "getEntityURL" method of the "Application" class. --- core/include/page/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/include/page/main.php') diff --git a/core/include/page/main.php b/core/include/page/main.php index 955bb35..32a2ec4 100644 --- a/core/include/page/main.php +++ b/core/include/page/main.php @@ -70,7 +70,7 @@ catch(Page\Exception $Exception) { $Page = Page\Factory::build($param); } - HTTP::redirect($Page->getURL()); + HTTP::redirect(Application::getEntityURL($Page)); } catch(Page\Exception $Exception) { -- cgit v1.2.3