From 30ac8d1f86bc4592e4fb38503b01de05f08c2aec Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 29 Mar 2013 12:31:53 +0400 Subject: [PATCH] update: exclude feeds with disabled updates --- include/rssfuncs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index da810314..d9a907c1 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -158,7 +158,8 @@ $tmp_result = db_query($link, "SELECT ttrss_feeds.feed_url,ttrss_feeds.id,last_updated FROM ttrss_feeds, ttrss_users WHERE ttrss_users.id = ttrss_feeds.owner_uid AND - feed_url = '".db_escape_string($link, $feed)."' + feed_url = '".db_escape_string($link, $feed)."' AND + ttrss_feeds.update_interval != -1 $login_thresh_qpart ORDER BY feed_url $query_limit"); -- 2.39.5