From 1ef3bd34d690f65a3eddbe75d416d3b47b799e06 Mon Sep 17 00:00:00 2001 From: Inverle Date: Thu, 24 Jul 2025 07:59:00 +0200 Subject: Fix no registration limit setting (#7751) --- app/Controllers/configureController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/configureController.php') 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; -- cgit v1.2.3