Skip to content
Snippets Groups Projects
Commit 02143fe9 authored by Anika Henke's avatar Anika Henke
Browse files

some urldecoding also needed in the cookie setter

parent 66ab63ca
No related branches found
No related tags found
No related merge requests found
......@@ -1572,7 +1572,7 @@ function set_doku_pref($pref, $val) {
$parts = explode('#', $_COOKIE['DOKU_PREFS']);
$cnt = count($parts);
for($i = 0; $i < $cnt; $i += 2) {
if($parts[$i] == $pref) {
if(urldecode($parts[$i]) == $pref) {
$parts[$i + 1] = urlencode($val);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment