From f8a34aa98e54327d2c7dc8ee2a06a8eb900bf807 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Tue, 27 Nov 2018 00:01:06 +0100 Subject: [PATCH] Account/Cookies * fixed saving cookie-data to account * e.g. announcements shouldn't pop up again if you close them once --- includes/ajaxHandler/cookie.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ajaxHandler/cookie.class.php b/includes/ajaxHandler/cookie.class.php index da2f2b47..709f5cbf 100644 --- a/includes/ajaxHandler/cookie.class.php +++ b/includes/ajaxHandler/cookie.class.php @@ -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