Skip to content

Commit

Permalink
Adding a default value to options param in JsEngine effect to avoid e…
Browse files Browse the repository at this point in the history
…rror in some php versions.
  • Loading branch information
jrbasso committed Jul 10, 2010
1 parent a04c87c commit 9fe5f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/view/helpers/js.php
Expand Up @@ -822,7 +822,7 @@ abstract public function each($callback);
* @param array $options Array of options for the effect.
* @return string completed string with effect.
*/
abstract public function effect($name, $options);
abstract public function effect($name, $options = array());

/**
* Make an XHR request
Expand Down

0 comments on commit 9fe5f36

Please sign in to comment.