mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 19:51:49 +00:00
fix sql error when subscribing to a feed using feed archive
This commit is contained in:
@@ -438,7 +438,7 @@ class RPC extends Handler_Protected {
|
|||||||
if ($this->dbh->num_rows($result) == 0) {
|
if ($this->dbh->num_rows($result) == 0) {
|
||||||
$result = $this->dbh->query("INSERT INTO ttrss_feeds
|
$result = $this->dbh->query("INSERT INTO ttrss_feeds
|
||||||
(owner_uid,feed_url,title,cat_id,site_url)
|
(owner_uid,feed_url,title,cat_id,site_url)
|
||||||
VALUES ('$id','".$_SESSION["uid"]."',
|
VALUES ('".$_SESSION["uid"]."',
|
||||||
'$feed_url', '$title', NULL, '$site_url')");
|
'$feed_url', '$title', NULL, '$site_url')");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user