Bugfix
This commit is contained in:
parent
b102a1d5ec
commit
ac86407fdf
1 changed files with 1 additions and 1 deletions
|
@ -996,7 +996,7 @@ function lang_selector() {
|
|||
}
|
||||
$ll = substr($l,5);
|
||||
$ll = substr($ll,0,strrpos($ll,'/'));
|
||||
$selected = (($ll === $lang && (x($_SESSION['language']))) ? ' selected="selected" ' : '');
|
||||
$selected = (($ll === $lang && (x($_SESSION, 'language'))) ? ' selected="selected" ' : '');
|
||||
$o .= '<option value="' . $ll . '"' . $selected . '>' . $ll . '</option>';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue