diff options
author | Max Kostikov <max@kostikov.co> | 2021-03-08 19:46:27 +0000 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2021-03-08 19:46:27 +0000 |
commit | f62b294a72a3f0a9b482cadabc01669483992fc9 (patch) | |
tree | 17fafae0136e98379854c38ae1e91e5d8959c4c9 /Zotlabs/Lib | |
parent | c2adf1dcd16c6bb71798141212e80310adf5a03d (diff) | |
download | volse-hubzilla-f62b294a72a3f0a9b482cadabc01669483992fc9.tar.gz volse-hubzilla-f62b294a72a3f0a9b482cadabc01669483992fc9.tar.bz2 volse-hubzilla-f62b294a72a3f0a9b482cadabc01669483992fc9.zip |
Check if terms are defined as array for item
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 8df76b5bf..dcfd3896e 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -610,7 +610,7 @@ class Activity { $ret = []; - if ($item['term']) { + if (array_key_exists('term', $item) && is_array($item['term'])) { foreach ($item['term'] as $t) { switch ($t['ttype']) { case TERM_HASHTAG: |