[Solar-svn] Revision 2958
pmjones at solarphp.com
pmjones at solarphp.com
Sun Nov 25 20:50:56 CST 2007
Solar_Form: [FIX] In methods addFilter() and addFilters(), the $array parameter should default to null. Thanks, Oscar Merida.
Modified: trunk/Solar/Form.php
===================================================================
--- trunk/Solar/Form.php 2007-11-25 03:42:22 UTC (rev 2957)
+++ trunk/Solar/Form.php 2007-11-26 02:50:56 UTC (rev 2958)
@@ -379,7 +379,7 @@
* @return void
*
*/
- public function addFilter($name, $spec, $array)
+ public function addFilter($name, $spec, $array = null)
{
// make sure the element exists
$name = $this->_prepareName($name, $array);
@@ -406,7 +406,7 @@
* @return void
*
*/
- public function addFilters($name, $list, $array)
+ public function addFilters($name, $list, $array = null)
{
foreach ((array) $list as $spec) {
$this->addFilter($name, $spec, $array);
More information about the Solar-svn
mailing list