summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-07-05 11:48:36 +0300
committerAndrew Dolgov <[email protected]>2016-07-05 11:48:36 +0300
commitcfc2fe50cb32b43f4c60c1445458eb2211c20583 (patch)
treea5b5bbfa67fc674bcacc3562509f4e336ef93120 /classes/rpc.php
parent582ff3cf6e617ccb6d6164da7381db80a0183127 (diff)
fix sql error when subscribing to a feed using feed archive
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 617c7a22b..9eb8dbd70 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -438,7 +438,7 @@ class RPC extends Handler_Protected {
if ($this->dbh->num_rows($result) == 0) {
$result = $this->dbh->query("INSERT INTO ttrss_feeds
(owner_uid,feed_url,title,cat_id,site_url)
- VALUES ('$id','".$_SESSION["uid"]."',
+ VALUES ('".$_SESSION["uid"]."',
'$feed_url', '$title', NULL, '$site_url')");
}
}