summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index a0608ded5..2b8813d61 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;
}