Fixing incorrect method call from merge with 1.3

This commit is contained in:
mark_story 2010-07-31 15:41:02 -04:00
parent db1acb461a
commit c6a63bae82

View file

@ -812,7 +812,7 @@ class Controller extends Object {
*/
public function render($action = null, $layout = null, $file = null) {
$this->beforeRender();
$this->Components->triggerCallback('beforeRender', $this);
$this->Components->trigger('beforeRender', array(&$this));
$viewClass = $this->view;
if ($this->view != 'View') {