diff --git a/client/js/uploader.basic.api.js b/client/js/uploader.basic.api.js index b2b6086b4..14178c657 100644 --- a/client/js/uploader.basic.api.js +++ b/client/js/uploader.basic.api.js @@ -1795,7 +1795,7 @@ return validityChecker.failure(); } - if (size === 0) { + if (!this._options.validation.allowEmpty && size === 0) { this._itemError("emptyError", name, file); return validityChecker.failure(); }