diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-10-06 14:48:12 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-10-06 14:48:12 +0200 |
commit | c2c891723fc0e56f0c373ca1043cdb548f2ed8ab (patch) | |
tree | 999c6c76d4635152334f5848895e6f2a44752f73 /Zotlabs/Lib/ThreadItem.php | |
parent | a5e63aa90ac5a5160e55eea98beb0e867533314b (diff) | |
download | volse-hubzilla-c2c891723fc0e56f0c373ca1043cdb548f2ed8ab.tar.gz volse-hubzilla-c2c891723fc0e56f0c373ca1043cdb548f2ed8ab.tar.bz2 volse-hubzilla-c2c891723fc0e56f0c373ca1043cdb548f2ed8ab.zip |
bookmark app
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; |