diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-14 17:23:19 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-14 17:23:19 -0700 |
commit | 229d82c4c7ca37c304d1291be7f71ba4b0632f03 (patch) | |
tree | 9f0ce27c1e82380987dd9ea317d6bf8e516f7a6b /Zotlabs/Lib | |
parent | d9759ba63c8fd70c4da66669389bd19bae3333ff (diff) | |
parent | 2d1dbc8f40d0b9fa89b99861fac30d579a400e34 (diff) | |
download | volse-hubzilla-229d82c4c7ca37c304d1291be7f71ba4b0632f03.tar.gz volse-hubzilla-229d82c4c7ca37c304d1291be7f71ba4b0632f03.tar.bz2 volse-hubzilla-229d82c4c7ca37c304d1291be7f71ba4b0632f03.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'Zotlabs/Lib')
-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 +} |