07-18-2017, 05:13 PM
Ah, we forgot an !
as well as
I'd probably rearrange the logic to remove the so its more straightforward but this should fix the other inputs.
Code:
else
Code:
else {
Code:
if (!$bypassSanitize) $postItem = self::sanitize($_POST[$item]);
Code:
else $postItem = $_POST[$item];
Code:
return $postItem;
Code:
}
Code:
else {
Code:
if (!$bypassSanitize) $getItem = self::sanitize($_GET[$item]);
Code:
else $getItem = $_GET[$item];
Code:
return $getItem;
Code:
}
I'd probably rearrange the logic to remove the
Code:
not