]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Unused variables removed
[friendica.git] / mod / photos.php
index 8f968d0c08d74f6f19eb142223cfb66d8137b3b0..311d2b1c14e9639c1cdf7e9ed4fac9035d863f47 100644 (file)
@@ -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) {