mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #364 from ajoneil/7190-fix-translation-flush
BUGFIX: Fix ?flush=1 not flushing en_US language
This commit is contained in:
commit
c7874ba01f
@ -1542,7 +1542,7 @@ class i18n extends Object implements TemplateGlobalProvider {
|
||||
))
|
||||
);
|
||||
|
||||
i18n::include_by_locale('en_US');
|
||||
i18n::include_by_locale('en_US', isset($_GET['flush']));
|
||||
}
|
||||
|
||||
return self::$translators;
|
||||
|
Loading…
Reference in New Issue
Block a user