diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-10-06 12:48:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-10-06 15:01:45 +0200 |
commit | 0558a25141ab5cbd8a7a60cf63c7b3d79f63b6d1 (patch) | |
tree | 3b12251d4e9c4970965bdd51789a72fde709eead /Zotlabs/Lib/ThreadItem.php | |
parent | 05ae18d74e236081f3437c10f7bade504d376047 (diff) | |
download | volse-hubzilla-0558a25141ab5cbd8a7a60cf63c7b3d79f63b6d1.tar.gz volse-hubzilla-0558a25141ab5cbd8a7a60cf63c7b3d79f63b6d1.tar.bz2 volse-hubzilla-0558a25141ab5cbd8a7a60cf63c7b3d79f63b6d1.zip |
bookmark app
(cherry picked from commit c2c891723fc0e56f0c373ca1043cdb548f2ed8ab)
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 48018f66c..78714c2c4 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -2,6 +2,8 @@ namespace Zotlabs\Lib; +use Zotlabs\Lib\Apps; + require_once('include/text.php'); /** @@ -272,7 +274,7 @@ class ThreadItem { } $has_bookmarks = false; - if(is_array($item['term'])) { + if(Apps::system_app_installed(local_channel(), 'Bookmarks') && is_array($item['term'])) { foreach($item['term'] as $t) { if(($t['ttype'] == TERM_BOOKMARK)) $has_bookmarks = true; |