Menu

#4 FPTextField.class.php error (version 1.1a)

open
nobody
None
5
2004-05-12
2004-05-12
Andy
No

In the 'FPTextField.class.php' constructor, you have:

if (isset($this->_size))
$this->_size = $params["size"];
else
$this->_size = 16;

but the isset check should be against the $param
variable. Something like:

if (isset($params['size'])) {
$this->_size = $params['size'];
} else {
$this->_size = 16;
}

Discussion


Log in to post a comment.

MongoDB Logo MongoDB