From: Andrew Dolgov Date: Sun, 6 Mar 2011 09:10:32 +0000 (+0300) Subject: fetch_twitter_rss: use proper uid X-Git-Tag: 1.5.2~25 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=dc891b12018e308603a8c10967da64796b0774b3;p=tt-rss.git fetch_twitter_rss: use proper uid --- diff --git a/functions.php b/functions.php index a0608ded..2b8813d6 100644 --- a/functions.php +++ b/functions.php @@ -7095,7 +7095,7 @@ db_query($link, "UPDATE ttrss_feeds SET last_error = 'OAuth information not found.' - WHERE feed_url = '$url_escaped' AND owner_uid = " . $_SESSION['uid']); + WHERE feed_url = '$url_escaped' AND owner_uid = $owner_uid"); return false; }