Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge 9730eb9 into 3138073
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyBogdanov committed Aug 14, 2013
2 parents 3138073 + 9730eb9 commit 4dc877f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions library/Zend/Form/Element/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,6 @@ public function populateValues($data)
));
}

// Can't do anything with empty data
if (empty($data)) {
return;
}

if (count($data) < $this->getCount()) {
if (!$this->allowRemove) {
throw new Exception\DomainException(sprintf(
Expand Down

0 comments on commit 4dc877f

Please sign in to comment.