summaryrefslogtreecommitdiff
path: root/classes/pref/feeds.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2022-12-24 21:22:16 +0000
committerwn_ <[email protected]>2022-12-24 21:22:16 +0000
commit371af1a39cf7a68b1fc3f959ad0f28c3811915fa (patch)
treefeceb3c1770b600e1e7e581c2aedfcda438b7f0b /classes/pref/feeds.php
parentfb4bc2615e3910e8a7d15c6306e10247f7f80f4b (diff)
Fix getting active feeds with errors.
fb4bc2615e3910e8a7d15c6306e10247f7f80f4b incorrectly excluded feeds using the default update interval. This change ignores the unlikely scenario where someone has the default update interval set to 'disabled'.
Diffstat (limited to 'classes/pref/feeds.php')
-rwxr-xr-xclasses/pref/feeds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php
index 7853e7243..a91d4b1e3 100755
--- a/classes/pref/feeds.php
+++ b/classes/pref/feeds.php
@@ -1154,7 +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)
+ ->where_gte('update_interval', 0)
->find_array());
}