diff --git a/mod/photos.php b/mod/photos.php index f4983a8380..2610174905 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1307,7 +1307,7 @@ function photos_content(App $a) } $tags = null; - $tag_text = Tag::tagTextFromItemId($link_item['uri-id']); + $tag_text = Tag::getCSVByURIId($link_item['uri-id']); if (!empty($link_item['id']) && !empty($tag_text)) { $arr = explode(',', $tag_text); diff --git a/mod/tagrm.php b/mod/tagrm.php index 3aefe0680f..4022f999db 100644 --- a/mod/tagrm.php +++ b/mod/tagrm.php @@ -102,7 +102,7 @@ function tagrm_content(App $a) DI::baseUrl()->redirect($_SESSION['photo_return']); } - $tag_text = Tag::tagTextFromItemId($item['uri-id']); + $tag_text = Tag::getCSVByURIId($item['uri-id']); $arr = explode(',', $tag_text); diff --git a/src/Model/Tag.php b/src/Model/Tag.php index f21d2ffec6..2f46289720 100644 --- a/src/Model/Tag.php +++ b/src/Model/Tag.php @@ -345,7 +345,7 @@ class Tag * @param integer $uri_id * @return string tags and mentions */ - public static function tagTextFromItemId(int $uri_id) + public static function getCSVByURIId(int $uri_id) { $tag_list = []; $tags = self::getByURIId($uri_id);