Browse Source

missing advanced profile from yesterday i18n re-org

pull/1/head
Friendika 11 years ago
parent
commit
38eff190ea
  1. 8
      mod/profile.php

8
mod/profile.php

@ -138,9 +138,11 @@ function profile_content(&$a, $update = 0) {
if($tab === 'profile') {
$lang = get_config('system','language');
if($lang && file_exists("view/$lang/profile_advanced.php"))
require_once("view/$lang/profile_advanced.php");
$profile_lang = get_config('system','language');
if(! $profile_lang)
$profile_lang = 'en';
if(file_exists("view/$profile_lang/profile_advanced.php"))
require_once("view/$profile_lang/profile_advanced.php");
else
require_once('view/profile_advanced.php');
return $o;

Loading…
Cancel
Save