Skip to content

Commit

Permalink
Fixing incorrect method call from merge with 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 11, 2010
1 parent db1acb4 commit c6a63ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/controller/controller.php
Expand Up @@ -812,7 +812,7 @@ public function validateErrors() {
*/
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') {
Expand Down

0 comments on commit c6a63ba

Please sign in to comment.