ZF2-331: Digits Validator append %value% to an empty string error message
Description
In Zend\Validator\Digits the following error return on empty string:
self::STRING_EMPTY => "'%value%' is an empty string",
I think the %value% should not be displayd as it actualy empty. The result is a string with two quotes at the start:
'' is an empty string
Comments
Posted by Maks 3w (maks3w) on 2012-06-28T12:22:35.000+0000
This PR changes that template https://github.com/zendframework/zf2/…
Posted by Maks 3w (maks3w) on 2012-07-10T16:34:39.000+0000
Patch is merged