Skip to content
Permalink
Browse files

replaced vsprintf to implode

  • Loading branch information...
bancer committed Dec 28, 2017
1 parent 7ae84e3 commit 0f51c75157ca87e3cd206fefb75a475261003f18
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)))));

0 comments on commit 0f51c75

Please sign in to comment.
You can’t perform that action at this time.