]> git.wh0rd.org Git - tt-rss.git/commitdiff
Changed how the enclosures array is checked for content so an empty array is not...
authorDave Zaikos <myself@zaikos.com>
Mon, 12 May 2014 17:54:04 +0000 (13:54 -0400)
committerDave Zaikos <myself@zaikos.com>
Mon, 12 May 2014 17:54:04 +0000 (13:54 -0400)
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();