- possible fix for thrown messages git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15964 44c647ce-9c0f-0410-b52a-842ac1e357ba
@@ -64,10 +64,10 @@ class Zend_Validate_NotEmpty extends Zend_Validate_Abstract
&& (('' === $value)
|| preg_match('/^\s+$/s', $value))
) {
- $this->_error();
+ $this->_error(self::IS_EMPTY);
return false;
} elseif (!is_string($value) && empty($value)) {
}