mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fix strict error in 5.4
This commit is contained in:
parent
ec54fa57c5
commit
921c2c67ab
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ abstract class ObjectCollection {
|
|||
* @return void
|
||||
*/
|
||||
public function unload($name) {
|
||||
$name = array_pop(pluginSplit($name));
|
||||
list(, $name) = pluginSplit($name);
|
||||
unset($this->_loaded[$name], $this->_enabled[$name]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue