From: <on...@us...> - 2002-09-20 08:45:31
|
Update of /cvsroot/xoops/xoops-current/html/class/xoopsform In directory usw-pr-cvs1:/tmp/cvs-serv20555 Modified Files: form.php Log Message: no message Index: form.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/class/xoopsform/form.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** form.php 18 Sep 2002 10:44:49 -0000 1.2 --- form.php 20 Sep 2002 08:45:27 -0000 1.3 *************** *** 99,104 **** function setRequired(&$required){ if ( is_array($required) ) { ! foreach ( $required as $req ) { ! $this->required[] =& $req; } } else { --- 99,105 ---- function setRequired(&$required){ if ( is_array($required) ) { ! $count = count($required); ! for ($i = 0; $i < $count; $i++) { ! $this->required[] =& $required[$i]; } } else { |