aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-12 12:15:30 +0000
committerMario <mario@mariovavti.com>2022-10-12 12:15:30 +0000
commita9a36894cb2637b546ed566ee06f20511cce031f (patch)
treed4db4326f9414e61771c5cfb3d23d1f47d1ec9a3 /Zotlabs/Lib/ThreadItem.php
parentbc9778e02f6ba953c8437e8e9f4cc1f211a0232e (diff)
downloadvolse-hubzilla-a9a36894cb2637b546ed566ee06f20511cce031f.tar.gz
volse-hubzilla-a9a36894cb2637b546ed566ee06f20511cce031f.tar.bz2
volse-hubzilla-a9a36894cb2637b546ed566ee06f20511cce031f.zip
fix php warnings
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 8cc0f6aa5..0343dc1e5 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -298,7 +298,7 @@ class ThreadItem {
}
$has_bookmarks = false;
- if(Apps::system_app_installed(local_channel(), 'Bookmarks') && is_array($item['term'])) {
+ if(Apps::system_app_installed(local_channel(), 'Bookmarks') && isset($item['term']) && is_array($item['term'])) {
foreach($item['term'] as $t) {
if(($t['ttype'] == TERM_BOOKMARK))
$has_bookmarks = true;