MINOR: subsequent fix to commit r106598

This commit is contained in:
Saophalkun Ponlu 2010-06-17 01:46:17 +00:00
parent fe2e699730
commit 755787de5d

View File

@ -276,8 +276,8 @@ class BlogHolder_Controller extends BlogTree_Controller {
$blogentry->ParentID = $this->ID;
$blogentry->Content = $form->datafieldByName('BlogPost')->dataValue();
if(Object::hasExtension('Translatable')) {
if(Object::has_extension($this->ClassName, 'Translatable')) {
$blogentry->Locale = $this->Locale;
}