Issues

ZF-3236: CLONE -value "0" is treated as empty

Description

Code example:


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:




with

Comments

Fix committed to trunk and 1.5 and 1.6 release branches.