diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-21 02:03:17 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-21 02:07:27 +0200 |
commit | 70f366ce1d102e4712af2408e6dcf5432b1926c2 (patch) | |
tree | e582e476329a432f5642ead3d94e3d7af4d79862 /core/functions.php | |
parent | 466420be275aeb0af1abd34639e5a570db50313f (diff) | |
download | blog-70f366ce1d102e4712af2408e6dcf5432b1926c2.tar.gz blog-70f366ce1d102e4712af2408e6dcf5432b1926c2.tar.xz blog-70f366ce1d102e4712af2408e6dcf5432b1926c2.zip |
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.
Diffstat (limited to 'core/functions.php')
-rw-r--r-- | core/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |