Renamed function
This commit is contained in:
parent
980de37047
commit
d33f6fc167
|
@ -1307,7 +1307,7 @@ function photos_content(App $a)
|
||||||
}
|
}
|
||||||
|
|
||||||
$tags = null;
|
$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)) {
|
if (!empty($link_item['id']) && !empty($tag_text)) {
|
||||||
$arr = explode(',', $tag_text);
|
$arr = explode(',', $tag_text);
|
||||||
|
|
|
@ -102,7 +102,7 @@ function tagrm_content(App $a)
|
||||||
DI::baseUrl()->redirect($_SESSION['photo_return']);
|
DI::baseUrl()->redirect($_SESSION['photo_return']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$tag_text = Tag::tagTextFromItemId($item['uri-id']);
|
$tag_text = Tag::getCSVByURIId($item['uri-id']);
|
||||||
|
|
||||||
$arr = explode(',', $tag_text);
|
$arr = explode(',', $tag_text);
|
||||||
|
|
||||||
|
|
|
@ -345,7 +345,7 @@ class Tag
|
||||||
* @param integer $uri_id
|
* @param integer $uri_id
|
||||||
* @return string tags and mentions
|
* @return string tags and mentions
|
||||||
*/
|
*/
|
||||||
public static function tagTextFromItemId(int $uri_id)
|
public static function getCSVByURIId(int $uri_id)
|
||||||
{
|
{
|
||||||
$tag_list = [];
|
$tag_list = [];
|
||||||
$tags = self::getByURIId($uri_id);
|
$tags = self::getByURIId($uri_id);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user