Bangs head to wall, sorry I just noticed I was passing an array in some
other code. Delete the issue and move on. Sorry my fault!


---------- Forwarded message ----------
From: Taco Jung <[email protected]>
Date: Thu, Jan 1, 2009 at 8:26 PM
Subject: Bugs in validators because of locale.
To: Zend Framework General <[email protected]>


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