|
|
@@ -53,11 +53,6 @@ class Zend_Validate_NotEmpty extends Zend_Validate_Abstract
|
|
|
*/
|
|
|
public function isValid($value)
|
|
|
{
|
|
|
- if ($value === null) {
|
|
|
- $this->_error(self::IS_EMPTY);
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
if (!is_null($value) && !is_string($value) && !is_int($value) && !is_float($value) &&
|
|
|
!is_bool($value) && !is_array($value)) {
|
|
|
$this->_error(self::INVALID);
|