Skip to content

Commit

Permalink
Fixing fatal error in php4
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 3, 2009
1 parent 83a705f commit d697729
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cake/libs/view/helpers/jquery_engine.php
Expand Up @@ -178,7 +178,8 @@ function event($type, $callback, $options = array()) {
* @return string completed domReady method
**/
function domReady($functionBody) {
return $this->get('document')->event('ready', $functionBody, array('stop' => false));
$this->get('document');
return $this->event('ready', $functionBody, array('stop' => false));
}

/**
Expand Down

0 comments on commit d697729

Please sign in to comment.