diff options
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/MessageFilter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/MessageFilter.php b/Zotlabs/Lib/MessageFilter.php index df59aa57e..eb0fc3d2c 100644 --- a/Zotlabs/Lib/MessageFilter.php +++ b/Zotlabs/Lib/MessageFilter.php @@ -23,7 +23,7 @@ class MessageFilter { $lang = detect_language($text); } - $tags = ((count($item['term'])) ? $item['term'] : false); + $tags = ((is_array($item['term']) && count($item['term'])) ? $item['term'] : false); // exclude always has priority @@ -76,4 +76,4 @@ class MessageFilter { } -}
\ No newline at end of file +} |