Issue Type: Bug Created: 2008-05-11T06:26:11.000+0000 Last Updated: 2008-07-24T09:27:09.000+0000 Status: Resolved Fix version(s): - 1.5.3 (28/Jul/08)
Reporter: Vladimir Michailenko (mich) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Validate
Related issues: - ZF-2851
<pre class="highlight"> Zend_Debug::dump(Zend_Validate::is('0', 'NotEmpty')); // false
As you see 0 (and '0') is treated as empty. Way to fix is replace Zend_Validate_NotEmpty:62:
<pre class="highlight"> with
Posted by Matthew Weier O'Phinney (matthew) on 2008-07-24T09:27:09.000+0000
Fix committed to trunk and 1.5 and 1.6 release branches.
Have you found an issue?
See the Overview section for more details.