Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor refactor to use local variable.

  • Loading branch information...
commit c874d98195d5b79a3032047c068a07af5bf435e9 1 parent 9cc460c
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/libs/cache.php
View
2  cake/libs/cache.php
@@ -234,7 +234,7 @@ function set($settings = array(), $value = null) {
if (is_string($settings) && $value !== null) {
$settings = array($settings => $value);
}
- $settings = array_merge($self->__config[$self->__name], $settings);
+ $settings = array_merge($self->__config[$name], $settings);
if (isset($settings['duration']) && !is_numeric($settings['duration'])) {
$settings['duration'] = strtotime($settings['duration']) - time();
}
Please sign in to comment.
Something went wrong with that request. Please try again.