]> git.wh0rd.org Git - tt-rss.git/commitdiff
Revert "set_basic_feed_info: bail out if feed doesn't exist"
authorAndrew Dolgov <noreply@fakecake.org>
Thu, 3 Dec 2015 16:18:50 +0000 (19:18 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Thu, 3 Dec 2015 16:18:50 +0000 (19:18 +0300)
This reverts commit d77bd1a5d213ed0e1d923e0c12ae16f022e92653.

include/rssfuncs.php

index 37801f553ab4baa2b608225a9a1863873a5d3a57..669b28e447bbe24065b08f80babb88953712db1f 100644 (file)
                $result = db_query("SELECT feed_url,auth_pass,auth_pass_encrypted
                                        FROM ttrss_feeds WHERE id = '$feed'");
 
-               if (pg_num_rows($result == 0)) return false;
-
                $auth_pass_encrypted = sql_bool_to_bool(db_fetch_result($result,
                        0, "auth_pass_encrypted"));