aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index ac9371ea0..7abc0e166 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -133,7 +133,7 @@ function profile_content(&$a, $update = 0) {
if($tab == 'profile') {
- $lang = config_get('system','language');
+ $lang = get_config('system','language');
if($lang && file_exists("view/$lang/profile_advanced.php"))
require_once("view/$lang/profile_advanced.php");
else