From 092d205b4207273d92e4f847174456a3f8bcd053 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Tue, 10 Jun 2025 10:12:47 +0530 Subject: [PATCH] Added validation to the 'min severity level' in the admin logs controller in the back office --- controllers/admin/AdminLogsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/admin/AdminLogsController.php b/controllers/admin/AdminLogsController.php index 029dc0fc6..10f683320 100644 --- a/controllers/admin/AdminLogsController.php +++ b/controllers/admin/AdminLogsController.php @@ -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.').'
'.$this->l('Emails will be sent to the website owner.'), 'cast' => 'intval', + 'validation' => 'isUnsignedInt', 'type' => 'text' ) ),