MINOR: merge r106597 from branch 0.4

This commit is contained in:
Saophalkun Ponlu 2010-06-16 22:52:06 +00:00
parent a71f4e6908
commit fe2e699730

View File

@ -273,9 +273,14 @@ 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");
$blogentry->publish("Stage", "Live");