X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fphotos.php;h=311d2b1c14e9639c1cdf7e9ed4fac9035d863f47;hb=221a659abeaf3bda3cefd88c80d1b7814f168f3e;hp=8f968d0c08d74f6f19eb142223cfb66d8137b3b0;hpb=f7a45e41534c392b51fd07bd7cd4d3c969d75228;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index 8f968d0c08..311d2b1c14 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1308,8 +1308,9 @@ function photos_content(App $a) $tags = null; - if (!empty($link_item['id']) && !empty($link_item['tag'])) { - $arr = explode(',', $link_item['tag']); + if (!empty($link_item['id'])) { + $tag_text = Tag::getCSVByURIId($link_item['uri-id']); + $arr = explode(',', $tag_text); // parse tags and add links $tag_arr = []; foreach ($arr as $tag) {