From: Andrew Dolgov Date: Fri, 29 Mar 2013 08:31:53 +0000 (+0400) Subject: update: exclude feeds with disabled updates X-Git-Tag: 1.7.6~172 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=30ac8d1f86bc4592e4fb38503b01de05f08c2aec;p=tt-rss.git update: exclude feeds with disabled updates --- 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");