chg: [settings:cerebrate] Improved check before saving debug level

refacto/CRUDComponent
Sami Mokaddem 2023-02-27 11:12:54 +01:00
parent 480e4a65fe
commit 26c038b25b
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ class CerebrateSettingsProvider extends BaseSettingsProvider
2 => __('Debug On + SQL Dump'),
],
'test' => function ($value, $setting, $validator) {
$validator->range('value', [0, 3]);
$validator->range('value', [0, 2]);
return testValidator($value, $validator);
},
],