Skip to content

Commit 48ac5e3

Browse files
author
Joan He
authored
Merge pull request #17 from magento-borg/MAGETWO-90719-reorder-exception
Magetwo 90719 reorder exception
2 parents a6a427e + 98b33e0 commit 48ac5e3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

library/Zend/Validate/File/FilesSize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,6 @@ public function isValid($value, $file = null)
155155
}
156156
}
157157

158-
return !empty($this->_messages);
158+
return empty($this->_messages);
159159
}
160160
}

library/Zend/Validate/File/ImageSize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public function isValid($value, $file = null)
338338
$this->_throw($file, self::HEIGHT_TOO_BIG);
339339
}
340340

341-
return !empty($this->_messages);
341+
return empty($this->_messages);
342342
}
343343

344344
/**

library/Zend/Validate/File/Size.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public function isValid($value, $file = null)
312312
}
313313
}
314314

315-
return !empty($this->_messages);
315+
return empty($this->_messages);
316316
}
317317

318318
/**

library/Zend/Validate/File/Upload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public function isValid($value, $file = null)
223223
}
224224
}
225225

226-
return !empty($this->_messages);
226+
return empty($this->_messages);
227227
}
228228

229229
/**

0 commit comments

Comments
 (0)