]> git.wh0rd.org Git - tt-rss.git/commitdiff
do not try to draw a fail-gradient (faildient?)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 24 Apr 2013 11:07:23 +0000 (15:07 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 24 Apr 2013 11:07:23 +0000 (15:07 +0400)
classes/feeds.php

index 61836d20d854c003543440cfdc3006c8d38f10f1..8a2b4bca4e71cd05960865d7fae2c3127200d905 100644 (file)
@@ -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));
                                        }