Hi,

I noticed a bug in Zend_Validate_Int and several related validators (like
Float) that use Zend_Locale. Here's the error:

Warning: preg_match() expects parameter 2 to be string, array given in
C:\Workspace\Zend Framework (Core)\library\Zend\Locale\Format.php on line *
517*

The code that caused the bug to appear:

        $inputValidator = new Zend_Validate_Int();
        if (!$inputValidator->isValid($info)) {
            return false;
        }

I also logged this one at Jira ->
*ZF-5389<http://framework.zend.com/issues/browse/ZF-5389>
*

Regards, TJ.

Reply via email to