Merge pull request #1 from w-huber/w-huber-patch-1

Update Translatable.php
This commit is contained in:
w-huber 2016-11-02 14:08:42 +01:00 committed by GitHub
commit 3bae1ffbdb

View File

@ -1752,7 +1752,7 @@ class Translatable extends DataExtension implements PermissionProvider {
* @deprecated 2.4 Use get_reading_locale() * @deprecated 2.4 Use get_reading_locale()
*/ */
static function get_reading_lang() { static function get_reading_lang() {
return i18n::get_lang_from_locale(self::get_reading_locale()); return i18n::get_lang_from_locale(self::get_current_locale());
} }
/** /**