summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Inverle <inverle@proton.me> 2025-07-24 07:59:00 +0200
committerGravatar GitHub <noreply@github.com> 2025-07-24 07:59:00 +0200
commit1ef3bd34d690f65a3eddbe75d416d3b47b799e06 (patch)
tree9bf9950e33f3a53bdca99bf1e66456cb6c590833 /app/Controllers/configureController.php
parente6540335caa0b6d39c213a9a11ca77ad1eebe504 (diff)
Fix no registration limit setting (#7751)
Diffstat (limited to 'app/Controllers/configureController.php')
-rw-r--r--app/Controllers/configureController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index edd04a64c..dc5407e99 100644
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -503,7 +503,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
if (Minz_Request::isPost()) {
$limits = FreshRSS_Context::systemConf()->limits;
- $limits['max_registrations'] = Minz_Request::paramInt('max-registrations') ?: 1;
+ $limits['max_registrations'] = Minz_Request::paramIntNull('max-registrations') ?? 1;
$limits['max_feeds'] = Minz_Request::paramInt('max-feeds') ?: 16384;
$limits['max_categories'] = Minz_Request::paramInt('max-categories') ?: 16384;
$limits['cookie_duration'] = Minz_Request::paramInt('cookie-duration') ?: FreshRSS_Auth::DEFAULT_COOKIE_DURATION;