Permalink
Browse files

Forward port #3468

  • Loading branch information...
2 parents cf597de + 01269ef commit 0bb958595cf74086c9f2b5ad42d6b512099b37e5 @Maks3w Maks3w committed Jan 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/View/Model/ViewModel.php
View
2 library/Zend/View/Model/ViewModel.php
@@ -346,7 +346,7 @@ public function addChild(ModelInterface $child, $captureTo = null, $append = nul
if (null !== $captureTo) {
$child->setCaptureTo($captureTo);
}
- if (null !== $captureTo) {
+ if (null !== $append) {
$child->setAppend($append);
}

0 comments on commit 0bb9585

Please sign in to comment.