diff --git a/code/BlogHolder.php b/code/BlogHolder.php index c458b0a..7de5558 100644 --- a/code/BlogHolder.php +++ b/code/BlogHolder.php @@ -273,8 +273,13 @@ class BlogHolder_Controller extends BlogTree_Controller { } $form->saveInto($blogentry); + $blogentry->ParentID = $this->ID; $blogentry->Content = $form->datafieldByName('BlogPost')->dataValue(); + + if(Object::hasExtension('Translatable')) { + $blogentry->Locale = $this->Locale; + } $blogentry->Status = "Published"; $blogentry->writeToStage("Stage");