diff options
author | Andrew Dolgov <[email protected]> | 2013-04-23 22:37:06 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-23 22:37:06 +0400 |
commit | 6ee0d4b05c2f159aa828274f2f4e0f5548d1890e (patch) | |
tree | e93e9a43fb39884c39d92094dd6189d1f4c4445e /include | |
parent | 560cbd8c0dc1bdd7418c2e259d80c78281039769 (diff) |
do not recalculate avg color repeatedly
Diffstat (limited to 'include')
-rw-r--r-- | include/rssfuncs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index bc054ca52..870d77203 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -433,7 +433,7 @@ if ($favicon_modified_new > $favicon_modified) $favicon_avg_color = ''; - if (file_exists($favicon_file) && function_exists("imagecreatefromstring") && $favicon_avg_color != 'fail') { + if (file_exists($favicon_file) && function_exists("imagecreatefromstring") && $favicon_avg_color == '') { require_once "colors.php"; $favicon_color = db_escape_string( |