ZF-2975: Zend_Form_Element::setName call to $this->filtername(...) should be $this->filterName(...)
Description
public function setName($name)
{
$name = $this->filtername($name);
if (('0' !== $name) && empty($name)) {
require_once 'Zend/Form/Exception.php';
throw new Zend_Form_Exception('Invalid name provided; must contain only valid variable characters and be non-empty');
}
$this->_name = $name;
return $this;
}
The reference to "filtername" should be "filterName".
Comments
Posted by Wil Sinclair (wil) on 2008-03-31T16:04:35.000+0000
Please evaluate and categorize as necessary.
Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T13:21:54.000+0000
Scheduling for next mini release.
Posted by Matthew Weier O'Phinney (matthew) on 2008-05-05T10:52:14.000+0000
Updated in trunk and 1.5 release branch as of r9378.