ZF-7475: Error with matching types of values
Description
Class Zend_Validate_Alnum File: Zend/Validate/Alnum.php Line: 130
wrong: if ($value !== self::$_filter->filter($value)) right: if ($value != self::$_filter->filter($value))
self::$_filter->filter($value) always return type string and $value may be as string as integer
if (1 !== '1') we have error
Comments
Posted by Thomas Weidner (thomas) on 2009-08-08T10:55:58.000+0000
Fixed with r17466