summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorfox <[email protected]>2022-12-25 08:42:44 +0300
committerfox <[email protected]>2022-12-25 08:42:44 +0300
commit22f8a22748c145beb62c7383860ee96c3d663b89 (patch)
treefeceb3c1770b600e1e7e581c2aedfcda438b7f0b /classes/feeds.php
parentfb4bc2615e3910e8a7d15c6306e10247f7f80f4b (diff)
parent371af1a39cf7a68b1fc3f959ad0f28c3811915fa (diff)
Merge pull request 'Fix getting active feeds with errors.' (#97) from wn/tt-rss:bugfix/feeds-with-errors-default-interval into master
Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/97
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 3c21400f8..de2f750cd 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -434,7 +434,7 @@ class Feeds extends Handler_Protected {
$num_errors = ORM::for_table('ttrss_feeds')
->where_not_equal('last_error', '')
->where('owner_uid', $_SESSION['uid'])
- ->where_gt('update_interval', 0)
+ ->where_gte('update_interval', 0)
->count('id');
if ($num_errors > 0) {
@@ -587,7 +587,7 @@ class Feeds extends Handler_Protected {
$num_errors = ORM::for_table('ttrss_feeds')
->where_not_equal('last_error', '')
->where('owner_uid', $_SESSION['uid'])
- ->where_gt('update_interval', 0)
+ ->where_gte('update_interval', 0)
->count('id');
if ($num_errors > 0) {