]> git.wh0rd.org Git - tt-rss.git/commitdiff
get_linked_feeds: properly set feedbrowser cache (fix typo)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 20 Apr 2011 16:10:57 +0000 (20:10 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 20 Apr 2011 16:10:57 +0000 (20:10 +0400)
functions.php

index e5d7e5986c415809be903fc20e549eac17b945eb..f966a9a0a34f092dd31d86456ffd56932cf980ce 100644 (file)
                                                                $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)