summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-15 15:17:12 +0400
committerAndrew Dolgov <[email protected]>2013-04-15 15:17:12 +0400
commit63c323f73610d81216801d1023dca724cfd32699 (patch)
treec71d5093059b664268f8d778a3f61b41d1bd00cd /classes
parent687a4f59c8d8be091b732ae6714fbdc140169d47 (diff)
only enable colored favicons in vfeeds; fix RGB triplet packing
Diffstat (limited to 'classes')
-rw-r--r--classes/feeds.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 64d1d8786..22c3497d4 100644
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -529,8 +529,8 @@ class Feeds extends Handler_Protected {
id=\"RROW-$id\" $mouseover_attrs'>";
//setting feed headline background color, needs to change text color based on dark/light
- $favColor = explode("|", $line['favicon_avg_color']);
- $reply['content'] .= "<div class=\"cdmHeader\" style=\"background-color: rgb($favColor[0], $favColor[1], $favColor[2]);\">";
+ $fav_color = $line['favicon_avg_color'];
+ $reply['content'] .= "<div class=\"cdmHeader\" style=\"background-color: $fav_color;\">";
$reply['content'] .= "<div style=\"vertical-align : middle\">";
$reply['content'] .= "<input dojoType=\"dijit.form.CheckBox\"