summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Zaikos <[email protected]>2014-05-12 13:54:04 -0400
committerDave Zaikos <[email protected]>2014-05-12 13:54:04 -0400
commitc6ce584dd56320da336ecbf69d424f0bc05f4f5a (patch)
tree5ff0ec03291429c99948d3a6d98ec73b3d8afda4 /include
parent2bb11658a8b032dc345b402de25265befa54608e (diff)
Changed how the enclosures array is checked for content so an empty array is not processed. Fixes a change from the previous branch commit.
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();