Skip to content

Commit

Permalink
Update Translatable.php
Browse files Browse the repository at this point in the history
  • Loading branch information
w-huber authored Nov 2, 2016
1 parent 18b3c8f commit c6f9bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/model/Translatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ static function set_reading_lang($lang) {
* @deprecated 2.4 Use get_reading_locale()
*/
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());
}

/**
Expand Down

0 comments on commit c6f9bd0

Please sign in to comment.