From: Andrew Dolgov Date: Wed, 17 Apr 2013 05:09:51 +0000 (+0400) Subject: feedtree: don't request null icon X-Git-Tag: 1.7.9~25^2~182 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=89473cb5c62f886ffa06642dacf53254e584d21f;p=tt-rss.git feedtree: don't request null icon --- diff --git a/include/functions.php b/include/functions.php index 0148d069..43138a1f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1851,6 +1851,8 @@ } break; } + + return false; } function getFeedTitle($link, $id, $cat = false) { diff --git a/js/FeedTree.js b/js/FeedTree.js index bb50d6fb..fbddb708 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -100,7 +100,7 @@ dojo.declare("fox.FeedTree", dijit.Tree, { _createTreeNode: function(args) { var tnode = new dijit._TreeNode(args); - if (args.item.icon) + if (args.item.icon && args.item.icon[0]) tnode.iconNode.src = args.item.icon[0]; var id = args.item.id[0];