summaryrefslogtreecommitdiffstats
path: root/utility/feedfetcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'utility/feedfetcher.php')
-rw-r--r--utility/feedfetcher.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/utility/feedfetcher.php b/utility/feedfetcher.php
index f48839029..9dc13bde9 100644
--- a/utility/feedfetcher.php
+++ b/utility/feedfetcher.php
@@ -177,12 +177,13 @@ class FeedFetcher implements IFeedFetcher {
// remove //
$favicon = ltrim($favicon, '/');
+ $httpsFavicon = $favicon;
// if it does not start with http, add it
if (strpos($favicon, 'http') !== 0){
$favicon = 'http://' . $favicon;
$httpsFavicon = 'https://' . $favicon;
- }
+ }
// if its already valid, return it
if ($this->isValidFavIcon($favicon)){