diff --git a/include/functions2.php b/include/functions2.php index cf1fba17c..5228d875c 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1856,7 +1856,7 @@ } } - if ($rv === '' && is_array($result)) { + if ($rv === '' && !empty($result)) { $entries_html = array(); $entries = array(); $entries_inline = array();