From 2a3317a27025a3bfed8366caa8a76c166352f3c7 Mon Sep 17 00:00:00 2001 From: objecttothis Date: Tue, 5 Dec 2023 10:21:10 +0400 Subject: [PATCH] Removed htmlspecialchars() calls --- app/Controllers/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/Config.php b/app/Controllers/Config.php index f0282c54c..48ac14910 100644 --- a/app/Controllers/Config.php +++ b/app/Controllers/Config.php @@ -403,8 +403,8 @@ class Config extends Secure_Controller 'enforce_privacy' => $this->request->getPost('enforce_privacy', FILTER_SANITIZE_NUMBER_INT), 'receiving_calculate_average_price' => $this->request->getPost('receiving_calculate_average_price') != null, 'lines_per_page' => $this->request->getPost('lines_per_page', FILTER_SANITIZE_NUMBER_INT), - 'notify_horizontal_position' => htmlspecialchars($this->request->getPost('notify_horizontal_position')), - 'notify_vertical_position' => htmlspecialchars($this->request->getPost('notify_vertical_position')), + 'notify_horizontal_position' => $this->request->getPost('notify_horizontal_position'), + 'notify_vertical_position' => $this->request->getPost('notify_vertical_position'), 'image_max_width' => $this->request->getPost('image_max_width', FILTER_SANITIZE_NUMBER_INT), 'image_max_height' => $this->request->getPost('image_max_height', FILTER_SANITIZE_NUMBER_INT), 'image_max_size' => $this->request->getPost('image_max_size', FILTER_SANITIZE_NUMBER_INT),