aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-08 20:09:49 +0000
committerMax Kostikov <max@kostikov.co>2021-03-08 20:09:49 +0000
commit4afddabe15b03115e744e83e39da863035bc6d5a (patch)
tree91ea0b2913eb4a32f8d0f297f0026794573fc09a /Zotlabs/Lib/Activity.php
parent360ae9080e85f565bd0925c3eb80ce5f757acd5f (diff)
downloadvolse-hubzilla-4afddabe15b03115e744e83e39da863035bc6d5a.tar.gz
volse-hubzilla-4afddabe15b03115e744e83e39da863035bc6d5a.tar.bz2
volse-hubzilla-4afddabe15b03115e744e83e39da863035bc6d5a.zip
Fix missed tag warning on decode taxonomy
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index d535ad241..de8f881d0 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -573,7 +573,7 @@ class Activity {
$ret = [];
- if ($item['tag'] && is_array($item['tag'])) {
+ if (array_key_exists('tag', $item) && is_array($item['tag'])) {
$ptr = $item['tag'];
if (!array_key_exists(0, $ptr)) {
$ptr = [$ptr];