Permalink
Browse files

Added compatibility with #4077

  • Loading branch information...
1 parent e4c98c9 commit 4389801da7a33226247b4f7842e781bdd3eb8873 @Slamdunk Slamdunk committed Apr 4, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 library/Zend/Form/Element/Collection.php
@@ -245,7 +245,9 @@ public function populateValues($data)
);
}
- $this->replaceTemplateObjects();
+ if (! $this->createNewObjects()) {
+ $this->replaceTemplateObjects();
+ }
}
/**

0 comments on commit 4389801

Please sign in to comment.