aboutsummaryrefslogtreecommitdiff
path: root/js/lib/languages.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/languages.js')
-rw-r--r--js/lib/languages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/languages.js b/js/lib/languages.js
index e8c2ad0ca..e464fc0ff 100644
--- a/js/lib/languages.js
+++ b/js/lib/languages.js
@@ -41,7 +41,7 @@ elgg.reload_all_translations = function(language) {
* @return {String}
*/
elgg.get_language = function() {
- var user = elgg.elgg_get_logged_in_user_entity();
+ var user = elgg.get_logged_in_user_entity();
if (user && user.language) {
return user.language;