diff --git a/lib/Cake/Cache/CacheEngine.php b/lib/Cake/Cache/CacheEngine.php index bd236ae5f0c..3e2c25632cd 100644 --- a/lib/Cake/Cache/CacheEngine.php +++ b/lib/Cake/Cache/CacheEngine.php @@ -181,7 +181,7 @@ public function key($key) { $prefix = ''; if (!empty($this->_groupPrefix)) { - $prefix = md5(vsprintf($this->_groupPrefix, $this->groups())); + $prefix = md5(implode('_', $this->groups())); } $key = preg_replace('/[\s]+/', '_', strtolower(trim(str_replace(array(DS, '/', '.'), '_', strval($key)))));