Skip to content

Commit

Permalink
[Core] Removes file validator from FileCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
TiSiE committed Nov 25, 2013
1 parent 640f68b commit 18fbba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Core/src/Core/Form/FileCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ public function getInputFilterSpecification() {
'type' => 'Zend\InputFilter\FileInput',
'required' => false,
);
if ($validator = $this->getFileValidator()) {
/*if ($validator = $this->getFileValidator()) {
$input['validators'] = array($validator);
}
}*///Removed file validator due to possible bug.
$spec = array();
foreach ($this->getElements() as $element) {
/*
Expand Down

0 comments on commit 18fbba7

Please sign in to comment.