From 89473cb5c62f886ffa06642dacf53254e584d21f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 09:09:51 +0400 Subject: [PATCH] feedtree: don't request null icon --- include/functions.php | 2 ++ js/FeedTree.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 0148d069d..43138a1f9 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 bb50d6fbb..fbddb708f 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];