Account/Cookies

* fixed saving cookie-data to account
 * e.g. announcements shouldn't pop up again if you close them once
This commit is contained in:
Sarjuuk
2018-11-27 00:01:06 +01:00
parent 13db19c64f
commit f8a34aa98e

View File

@@ -12,7 +12,7 @@ class AjaxCookie extends AjaxHandler
return;
$this->_get = array(
$this->params[0] => [FILTER_SANITIZE_STRING, 0xC], // FILTER_FLAG_STRIP_LOW | *_HIGH
$params[0] => [FILTER_SANITIZE_STRING, 0xC], // FILTER_FLAG_STRIP_LOW | *_HIGH
);
// NOW we know, what to expect and sanitize