diff --git a/cake/libs/controller/components/security.php b/cake/libs/controller/components/security.php index c9d5e941c..eaef1d015 100644 --- a/cake/libs/controller/components/security.php +++ b/cake/libs/controller/components/security.php @@ -510,7 +510,9 @@ class SecurityComponent extends Object { } continue; } - $field[$key] = array_keys($value); + if(!array_key_exists($key, $value)) { + $field[$key] = array_keys($value); + } } $check = urlencode(Security::hash(serialize($field) . CAKE_SESSION_STRING));