mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MINOR: subsequent fix to commit r106598
This commit is contained in:
parent
fe2e699730
commit
755787de5d
@ -277,7 +277,7 @@ 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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user