Adding a default value to options param in JsEngine effect to avoid error in some php versions.

This commit is contained in:
Juan Basso 2010-07-10 18:15:09 -03:00
parent a04c87c42a
commit 9fe5f360eb

View file

@ -822,7 +822,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
* @param array $options Array of options for the effect. * @param array $options Array of options for the effect.
* @return string completed string with effect. * @return string completed string with effect.
*/ */
abstract public function effect($name, $options); abstract public function effect($name, $options = array());
/** /**
* Make an XHR request * Make an XHR request