diff --git a/functions.php b/functions.php index e5d7e5986..f966a9a0a 100644 --- a/functions.php +++ b/functions.php @@ -7408,7 +7408,7 @@ $feed_url = db_escape_string($feed['feed_url']); $title = db_escape_string($feed['title']); $subscribers = db_escape_string($feed['subscribers']); - $site_url = db_escape_string($site['site_url']); + $site_url = db_escape_string($feed['site_url']); db_query($link, "INSERT INTO ttrss_linked_feeds (feed_url, site_url, title, subscribers, instance_id, created, updated)