Skip to content

Commit

Permalink
Merge pull request #123 from Kunstmaan/fix-pagepartcreator-service
Browse files Browse the repository at this point in the history
PagePartCreatorService bugfix
  • Loading branch information
Wim Vandersmissen committed Aug 19, 2014
2 parents 1749f1b + fd73284 commit bc0626e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/Services/PagePartCreatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function addPagePartToPage($nodeOrInternalName, PagePartInterface $pagePa
// Find the correct page instance.
$node = $this->getNode($nodeOrInternalName);
/** @var $translation NodeTranslation */
$translation = $node->getNodeTranslation($language);
$translation = $node->getNodeTranslation($language, true);
$page = $translation->getRef($this->em);

// Find latest position.
Expand Down

0 comments on commit bc0626e

Please sign in to comment.