diff --git a/classes/feeds.php b/classes/feeds.php index a9f479a51..f2244ae89 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -1668,7 +1668,7 @@ class Feeds extends Handler_Protected { $sth = $pdo->prepare("SELECT id FROM ttrss_feeds WHERE (cat_id = :cat OR (:cat IS NULL AND cat_id IS NULL)) - AND owner_uid = ?"); + AND owner_uid = :uid"); $sth->execute([":cat" => $cat, ":uid" => $owner_uid]);