Removed htmlspecialchars() calls

This commit is contained in:
objecttothis
2023-12-05 10:21:10 +04:00
committed by jekkos
parent 1dfa428989
commit 2a3317a270

View File

@@ -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),