summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions2.php2
1 files changed, 1 insertions, 1 deletions
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();