Commit 6c2cb52e authored by Tomáš Pospíšil's avatar Tomáš Pospíšil
Browse files

remove filter_inputs

parent 31e3145c
......@@ -25,7 +25,10 @@ final class PersistentValue
session_start();
}
$get = strip_tags($_POST[$settingCode]);
$get = $_POST[$settingCode] ?? null;
if (is_string($get)) {
$get = strip_tags($get);
}
$fromSession = $_SESSION[self::PREFIX . $settingCode] ?? null;
if ($get === null && $fromSession === null) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment