Added validation to the 'min severity level' in the admin logs controller in the back office

This commit is contained in:
vishalsingh.qlo325
2025-06-10 10:12:47 +05:30
parent e6556fd47e
commit 092d205b42

View File

@@ -88,6 +88,7 @@ class AdminLogsControllerCore extends AdminController
'title' => $this->l('Minimum severity level'),
'hint' => $this->l('Enter "5" if you do not want to receive any emails.').'<br />'.$this->l('Emails will be sent to the website owner.'),
'cast' => 'intval',
'validation' => 'isUnsignedInt',
'type' => 'text'
)
),