From: <on...@us...> - 2002-09-26 19:15:51
|
Update of /cvsroot/xoops/xoops-current/html/class/xoopsform In directory usw-pr-cvs1:/tmp/cvs-serv17042 Modified Files: formselect.php Log Message: no message Index: formselect.php =================================================================== RCS file: /cvsroot/xoops/xoops-current/html/class/xoopsform/formselect.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** formselect.php 15 Jul 2002 08:13:14 -0000 1.1.1.1 --- formselect.php 26 Sep 2002 19:15:45 -0000 1.2 *************** *** 37,46 **** // public ! function XoopsFormSelect($caption, $name, $value="", $size=1, $multiple=false){ $this->setCaption($caption); $this->setName($name); $this->multiple = $multiple; $this->size = intval($size); ! if ( $value != "" ) { if ( is_array($value) ) { foreach ( $value as $v ) { --- 37,46 ---- // public ! function XoopsFormSelect($caption, $name, $value=null, $size=1, $multiple=false){ $this->setCaption($caption); $this->setName($name); $this->multiple = $multiple; $this->size = intval($size); ! if (isset($value)) { if ( is_array($value) ) { foreach ( $value as $v ) { |