]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
Changed how the enclosures array is checked for content so an empty array is not...
[tt-rss.git] / include / functions2.php
index cf1fba17cc39c9cb84dccf787aad9ad7e6125068..5228d875ce91a1dcd373f024999a3693a860cab0 100644 (file)
                        }
                }
 
-               if ($rv === '' && is_array($result)) {
+               if ($rv === '' && !empty($result)) {
                        $entries_html = array();
                        $entries = array();
                        $entries_inline = array();