fixed language selection (2996335)
This commit is contained in:
parent
d0819db243
commit
6aa7441b9f
|
@ -7,6 +7,7 @@ June 2010 3.1.0
|
|||
- fixed bugs:
|
||||
-> Asterisk password handling (patch 2979728)
|
||||
-> Samba domain SID check (2994528)
|
||||
-> language selection at login (2996335)
|
||||
|
||||
|
||||
24.03.2010 3.0.0
|
||||
|
|
|
@ -125,7 +125,7 @@ function display_LoginPage($config_object) {
|
|||
$value = explode(":", $line);
|
||||
$languages[$i]["link"] = $value[0] . ":" . $value[1];
|
||||
$languages[$i]["descr"] = $value[2];
|
||||
if(rtrim($line) == $_SESSION["language"])
|
||||
if(trim($line) == trim($_SESSION["language"]))
|
||||
{
|
||||
$languages[$i]["default"] = "YES";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue