Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 0f51c75

Browse files
authored
replaced vsprintf to implode
1 parent 7ae84e3 commit 0f51c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Cake/Cache/CacheEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function key($key) {
181181

182182
$prefix = '';
183183
if (!empty($this->_groupPrefix)) {
184-
$prefix = md5(vsprintf($this->_groupPrefix, $this->groups()));
184+
$prefix = md5(implode('_', $this->groups()));
185185
}
186186

187187
$key = preg_replace('/[\s]+/', '_', strtolower(trim(str_replace(array(DS, '/', '.'), '_', strval($key)))));

0 commit comments

Comments
 (0)