diff options
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 669b28e44..37801f553 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -230,6 +230,8 @@ $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")); |