aboutsummaryrefslogtreecommitdiffstats
path: root/include/taxonomy.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r--include/taxonomy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 3f6db50d1..cfec8414a 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -122,7 +122,7 @@ function store_item_tag($uid,$iid,$otype,$type,$term,$url = '') {
function get_terms_oftype($arr, $type) {
$ret = [];
- if(!is_array($arr) && count($arr))
+ if(!is_array($arr))
return $ret;
if(! is_array($type))