From: Andrew Dolgov Date: Thu, 17 Nov 2005 08:30:54 +0000 (+0100) Subject: pass $link into check_feed_favicon() X-Git-Tag: schema_feature_freeze_for_1.1~263 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9e9978746524f645070feff862019c3777b9c6a0;p=tt-rss.git pass $link into check_feed_favicon() --- diff --git a/functions.php b/functions.php index 08a00246..ac1fe4fb 100644 --- a/functions.php +++ b/functions.php @@ -66,7 +66,7 @@ } - function check_feed_favicon($feed_url, $feed) { + function check_feed_favicon($feed_url, $feed, $link) { $feed_url = str_replace("http://", "", $feed_url); $feed_url = preg_replace("/\/.*$/", "", $feed_url); @@ -120,7 +120,7 @@ if ($rss) { if (get_pref($link, 'ENABLE_FEED_ICONS')) { - check_feed_favicon($feed_url, $feed); + check_feed_favicon($feed_url, $feed, $link); } $result = db_query($link, "SELECT title,icon_url FROM ttrss_feeds WHERE id = '$feed'");