From: Andrew Dolgov Date: Wed, 24 Apr 2013 11:07:23 +0000 (+0400) Subject: do not try to draw a fail-gradient (faildient?) X-Git-Tag: 1.7.9~25^2~95 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7d90d06de0f56e7996ed3f1496598c8c91f7b799;p=tt-rss.git do not try to draw a fail-gradient (faildient?) --- diff --git a/classes/feeds.php b/classes/feeds.php index 61836d20..8a2b4bca 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -400,7 +400,7 @@ class Feeds extends Handler_Protected { require_once "colors.php"; - if ($fav_color) { + if ($fav_color && $fav_color != 'FAIL') { if (!isset($rgba_cache[$feed_id])) { $rgba_cache[$feed_id] = join(",", _color_unpack($fav_color)); }