mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Class naming in Translatable (see #4060)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@76737 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4085b3e654
commit
261ab10e00
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user