From 7d90d06de0f56e7996ed3f1496598c8c91f7b799 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 24 Apr 2013 15:07:23 +0400 Subject: [PATCH] do not try to draw a fail-gradient (faildient?) --- classes/feeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.39.5