summaryrefslogtreecommitdiff
path: root/classes/pref/feeds.php
diff options
context:
space:
mode:
authorfox <[email protected]>2022-12-22 00:13:04 +0300
committerfox <[email protected]>2022-12-22 00:13:04 +0300
commitfb4bc2615e3910e8a7d15c6306e10247f7f80f4b (patch)
treed43bfde8cc06097f6fab9a1af48738b0da410eee /classes/pref/feeds.php
parent423b26afc503c07166bd66d897bfe839c2cba10b (diff)
parent46e263586978ac443967c28fc6800a44c2f1d33b (diff)
Merge pull request 'Only count updating (i.e. enabled) feeds when determining active feeds with errors.' (#96) from wn/tt-rss:feature/only-warn-for-updating-feeds into master
Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/96
Diffstat (limited to 'classes/pref/feeds.php')
-rwxr-xr-xclasses/pref/feeds.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php
index a9ae91979..7853e7243 100755
--- a/classes/pref/feeds.php
+++ b/classes/pref/feeds.php
@@ -1154,6 +1154,7 @@ class Pref_Feeds extends Handler_Protected {
->select_many('id', 'title', 'feed_url', 'last_error', 'site_url')
->where_not_equal('last_error', '')
->where('owner_uid', $_SESSION['uid'])
+ ->where_gt('update_interval', 0)
->find_array());
}