fix a fatal error when displaying photos
This commit is contained in:
parent
652efd1a5d
commit
180b4e51df
1 changed files with 2 additions and 2 deletions
|
@ -1307,9 +1307,9 @@ function photos_content(App $a)
|
|||
}
|
||||
|
||||
$tags = null;
|
||||
$tag_text = Tag::getCSVByURIId($link_item['uri-id']);
|
||||
|
||||
if (!empty($link_item['id']) && !empty($tag_text)) {
|
||||
if (!empty($link_item['id'])) {
|
||||
$tag_text = Tag::getCSVByURIId($link_item['uri-id']);
|
||||
$arr = explode(',', $tag_text);
|
||||
// parse tags and add links
|
||||
$tag_arr = [];
|
||||
|
|
Loading…
Reference in a new issue