cvs: php4 /pear/HTML Select.php
| From: | Yavor Shahpasov | Date: | Wed, 13 Feb 2002 14:03:19 +0000 |
| Subject: | cvs: php4 /pear/HTML Select.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2423@lists.php.net to get a copy of this message | ||
yavo Wed Feb 13 09:03:19 2002 EDT
Modified files:
/php4/pear/HTML Select.php
Log:
Initialize $this->_values to avoid warrnings in case _values property is not set
Index: php4/pear/HTML/Select.php
diff -u php4/pear/HTML/Select.php:1.8 php4/pear/HTML/Select.php:1.9
--- php4/pear/HTML/Select.php:1.8 Tue Dec 11 10:31:27 2001
+++ php4/pear/HTML/Select.php Wed Feb 13 09:03:18 2002
@@ -16,7 +16,7 @@
// | Authors: Adam Daniel <adaniel1@eesus.jnj.com> |
// +----------------------------------------------------------------------+
//
-// $Id: Select.php,v 1.8 2001/12/11 15:31:27 sebastian Exp $
+// $Id: Select.php,v 1.9 2002/02/13 14:03:18 yavo Exp $
require_once 'PEAR.php';
require_once 'HTML/Common.php';
@@ -73,6 +73,7 @@
$attr[] = 'multiple="multiple"';
}
$this->updateAttributes($attr);
+ $this->setSelectedValues(array());
}
/**