Skip to content

Commit 18fbba7

Browse files
committed
[Core] Removes file validator from FileCollection
1 parent 640f68b commit 18fbba7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/Core/src/Core/Form/FileCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public function getInputFilterSpecification() {
9191
'type' => 'Zend\InputFilter\FileInput',
9292
'required' => false,
9393
);
94-
if ($validator = $this->getFileValidator()) {
94+
/*if ($validator = $this->getFileValidator()) {
9595
$input['validators'] = array($validator);
96-
}
96+
}*///Removed file validator due to possible bug.
9797
$spec = array();
9898
foreach ($this->getElements() as $element) {
9999
/*

0 commit comments

Comments
 (0)