Update of /cvsroot/xoops/xoops-current/html/class/xoopsform
In directory usw-pr-cvs1:/tmp/cvs-serv20909
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.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** form.php 20 Sep 2002 08:45:27 -0000 1.3
--- form.php 20 Sep 2002 14:16:29 -0000 1.4
***************
*** 98,109 ****
function setRequired(&$required){
! if ( is_array($required) ) {
! $count = count($required);
! for ($i = 0; $i < $count; $i++) {
! $this->required[] =& $required[$i];
! }
! } else {
! $this->required[] =& $required;
! }
}
--- 98,102 ----
function setRequired(&$required){
! $this->required[] =& $required;
}
|