Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix strict error in 5.4

  • Loading branch information...
commit 921c2c67abf7afdd7d6d2199a5216fd80dc5ba3f 1 parent ec54fa5
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Utility/ObjectCollection.php
View
2  lib/Cake/Utility/ObjectCollection.php
@@ -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]);
}
Please sign in to comment.
Something went wrong with that request. Please try again.