diff --git a/core/model/Translatable.php b/core/model/Translatable.php index 6667520da..5fc2d302f 100755 --- a/core/model/Translatable.php +++ b/core/model/Translatable.php @@ -1070,7 +1070,7 @@ class Translatable extends DataObjectDecorator { $origHomepageObj = Translatable::get_one_by_locale( 'SiteTree', Translatable::default_locale(), - sprintf('"URLSegment" = \'%s\'', RootUrlController::get_default_homepage_urlsegment()) + sprintf('"URLSegment" = \'%s\'', RootURLController::get_default_homepage_urlsegment()) ); if($origHomepageObj) { $translatedHomepageObj = $origHomepageObj->getTranslation($locale);