Permalink
Browse files

Reversing change from [a37fc0d]. As the additional & causes errors in…

… PHP <= 5.2
  • Loading branch information...
1 parent bcb5e42 commit 778a6b93039f1fa667fab5f1ccfaf82ecd95a344 @markstory markstory committed Sep 29, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/behavior.php
@@ -167,7 +167,7 @@ function dispatchMethod(&$model, $method, $params = array()) {
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;
}

0 comments on commit 778a6b9

Please sign in to comment.