diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backend.php b/backend.php index 78760e5e7..09972cbce 100644 --- a/backend.php +++ b/backend.php @@ -1658,10 +1658,11 @@ $result = db_query($link, "INSERT INTO ttrss_feeds (owner_uid,feed_url,title,cat_id) - VALUES ('".$_SESSION["uid"]."', '$feed_link', '', $cat_qpart)"); + VALUES ('".$_SESSION["uid"]."', '$feed_link', + '[Unknown]', $cat_qpart)"); $result = db_query($link, - "SELECT id FROM ttrss_feeds WHERE feed_url = '$feed_link' + "SELECT id FROM ttrss_feeds WHERE feed_url = '$feed_link' AND owner_uid = " . $_SESSION["uid"]); $feed_id = db_fetch_result($result, 0, "id"); |