From: Dave Zaikos Date: Mon, 12 May 2014 17:54:04 +0000 (-0400) Subject: Changed how the enclosures array is checked for content so an empty array is not... X-Git-Tag: 1.13~33^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c6ce584dd56320da336ecbf69d424f0bc05f4f5a;p=tt-rss.git Changed how the enclosures array is checked for content so an empty array is not processed. Fixes a change from the previous branch commit. --- diff --git a/include/functions2.php b/include/functions2.php index cf1fba17..5228d875 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();