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/namespace/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/namespace/Item.php') diff --git a/core/namespace/Item.php b/core/namespace/Item.php index 02de382..f674a60 100644 --- a/core/namespace/Item.php +++ b/core/namespace/Item.php @@ -62,7 +62,7 @@ abstract class Item implements ItemInterface { try { $Item = $namespace::build($matches[2]); - return $Item->getURL(); + return Application::getEntityURL($Item); } catch(Exception $Exception) { return '{undefined}'; } -- cgit v1.2.3