summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-17 09:30:54 +0100
committerAndrew Dolgov <[email protected]>2005-11-17 09:30:54 +0100
commit9e9978746524f645070feff862019c3777b9c6a0 (patch)
tree7f5b6c489815d2855301826c9ceec05d1fcbea1b /functions.php
parentff8d690febfd897b0e6251179b4eef55d59d8e8c (diff)
pass $link into check_feed_favicon()
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 08a00246f..ac1fe4fb6 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'");