Fix #yogosha4525

This commit is contained in:
Laurent Destailleur
2020-09-18 16:00:47 +02:00
parent 72d5850a5f
commit d75e1e5771
5 changed files with 7 additions and 7 deletions

View File

@@ -94,7 +94,7 @@ class box_task extends ModeleBoxes
if (in_array(GETPOST($cookie_name), array('all', 'im_project_contact', 'im_task_contact'))) {
$filterValue = GETPOST($cookie_name);
} elseif (!empty($_COOKIE[$cookie_name])) {
$filterValue = $_COOKIE[$cookie_name];
$filterValue = preg_replace('/[^a-z_]/', '', $_COOKIE[$cookie_name]); // Clean cookie from evil data
}
if ($filterValue == 'im_task_contact') {