missing advanced profile from yesterday i18n re-org
This commit is contained in:
parent
875b31fb8e
commit
38eff190ea
1 changed files with 5 additions and 3 deletions
|
@ -138,9 +138,11 @@ function profile_content(&$a, $update = 0) {
|
||||||
|
|
||||||
|
|
||||||
if($tab === 'profile') {
|
if($tab === 'profile') {
|
||||||
$lang = get_config('system','language');
|
$profile_lang = get_config('system','language');
|
||||||
if($lang && file_exists("view/$lang/profile_advanced.php"))
|
if(! $profile_lang)
|
||||||
require_once("view/$lang/profile_advanced.php");
|
$profile_lang = 'en';
|
||||||
|
if(file_exists("view/$profile_lang/profile_advanced.php"))
|
||||||
|
require_once("view/$profile_lang/profile_advanced.php");
|
||||||
else
|
else
|
||||||
require_once('view/profile_advanced.php');
|
require_once('view/profile_advanced.php');
|
||||||
return $o;
|
return $o;
|
||||||
|
|
Loading…
Reference in a new issue