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/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/functions.php') diff --git a/core/functions.php b/core/functions.php index 517be51..519e5f1 100644 --- a/core/functions.php +++ b/core/functions.php @@ -79,7 +79,7 @@ function generateItemTemplateData(Item $Item): array { $ATTR = array_change_key_case($ATTR, CASE_UPPER); return [ - 'URL' => $Item->getURL(), + 'URL' => Application::getEntityURL($Item), 'GUID' => $Item->getGUID(), 'ARGV' => $Item->getArguments(), -- cgit v1.2.3