aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Controllers/categoryController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/categoryController.php b/app/Controllers/categoryController.php
index 9fd5fd630..956a462e1 100644
--- a/app/Controllers/categoryController.php
+++ b/app/Controllers/categoryController.php
@@ -113,7 +113,7 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController {
} else {
if (!Minz_Request::paramBoolean('enable_keep_max')) {
$keepMax = false;
- } elseif (($keepMax = Minz_Request::paramInt('keep_max')) !== 0) {
+ } elseif (($keepMax = Minz_Request::paramInt('keep_max')) === 0) {
$keepMax = FreshRSS_Feed::ARCHIVING_RETENTION_COUNT_LIMIT;
}
if (Minz_Request::paramBoolean('enable_keep_period')) {