From 93b11514840c7b00f3df6590557fbb249eae6c3b Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 18 Apr 2022 22:05:34 +0200 Subject: Fix max-registrations-input data-leave-validation (#4312) Regression from https://github.com/FreshRSS/FreshRSS/pull/3932 The data-leave-validation mechanism would always say that max-registrations-input has changed when navigating to another page --- app/views/configure/system.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/configure') diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml index 6f094e06b..aa1df5450 100644 --- a/app/views/configure/system.phtml +++ b/app/views/configure/system.phtml @@ -57,7 +57,7 @@
- +
+ data-leave-validation="limits['max_registrations'] > 1 ? FreshRSS_Context::$system_conf->limits['max_registrations'] : $number + 1; ?>" data-number=""/> (= )(= )
-- cgit v1.2.3