Issue Type: Bug Created: 2008-09-16T02:21:04.000+0000 Last Updated: 2008-11-13T14:10:30.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)
Reporter: Ralf Claußnitzer (zfissuetrackerralf) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate
Related issues: Attachments:
The Zend_Validate_Int validator does not correctly handle boolean input values:
<pre class="highlight"> $value = true; // Not a number at all! $validator = new Zend_Validate_Int(); $result = $validator->isValid($value);
The $result variable has been "(bool)true" after the call to isValid(). With setting $value to "false", $result changed to "false" too.
Posted by Thomas Weidner (thomas) on 2008-11-06T11:12:22.000+0000
Fixed with r12336
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:30.000+0000
Changing issues in preparation for the 1.7.0 release.
Have you found an issue?
See the Overview section for more details.