mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Reversing change from [a37fc0d455e373b30a73f11687885572c6e4b90d]. As the additional & causes errors in PHP <= 5.2
This commit is contained in:
parent
bcb5e42aab
commit
778a6b9303
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class ModelBehavior extends Object {
|
|||
case 5:
|
||||
return $this->{$method}($model, $params[0], $params[1], $params[2], $params[3], $params[4]);
|
||||
default:
|
||||
array_unshift($params, &$model);
|
||||
array_unshift($params, $model);
|
||||
return call_user_func_array(array(&$this, $method), $params);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue