]> git.wh0rd.org Git - tt-rss.git/commitdiff
fetch_twitter_rss: use proper uid
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 6 Mar 2011 09:10:32 +0000 (12:10 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 6 Mar 2011 09:10:32 +0000 (12:10 +0300)
functions.php

index a0608ded55e04a10b812597d2828e030d48cf397..2b8813d615c2fd427d21efdd647e8c1aecccf234 100644 (file)
 
                        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;
                }