fix php warning
This commit is contained in:
parent
2c819c8619
commit
efb0ac5996
@ -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 {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user