diff options
author | Anika Henke <anika@selfthinker.org> | 2013-02-03 20:39:04 +0000 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2013-02-03 20:39:04 +0000 |
commit | 02143fe9eb35259159906959a1253735d9df4fe1 (patch) | |
tree | e9dc70e8579b8a5539a408d1bb017be103a16977 | |
parent | 66ab63caaa47f880a636d65d332b0faf69f0a77a (diff) | |
download | rpg-02143fe9eb35259159906959a1253735d9df4fe1.tar.gz rpg-02143fe9eb35259159906959a1253735d9df4fe1.tar.bz2 |
some urldecoding also needed in the cookie setter
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index 5582838de..2626c0d92 100644 --- a/inc/common.php +++ b/inc/common.php @@ -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; } |