ZF-12376: GreaterThan wrong example
Description
http://framework.zend.com/manual/en/…
the example said that validator returns TRUE for all values which are equal to 10 or greater than 10.
In fact, it returns true ONLY if greater than 10.
if ($this->_min >= $value) {
$this->_error(self::NOT_GREATER);
return false;
}
Comments
Posted by Frank Brückner (frosch) on 2012-08-24T08:18:44.000+0000
Patches for English and German added.
Posted by Rob Allen (rob) on 2012-08-24T09:51:51.000+0000
Fixed on trunk in svn r25043 and svn r25044 in release-1.12.