Skip to content

Commit

Permalink
Fix strict error in 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 14, 2012
1 parent ec54fa5 commit 921c2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Utility/ObjectCollection.php
Expand Up @@ -286,7 +286,7 @@ public function attached($name = null) {
* @return void
*/
public function unload($name) {
$name = array_pop(pluginSplit($name));
list(, $name) = pluginSplit($name);
unset($this->_loaded[$name], $this->_enabled[$name]);
}

Expand Down

0 comments on commit 921c2c6

Please sign in to comment.