forked from extern/egroupware
Changed to use get_var().
This commit is contained in:
parent
607dd5b3d9
commit
0bd3848040
@ -99,7 +99,7 @@
|
|||||||
|
|
||||||
function lang_select()
|
function lang_select()
|
||||||
{
|
{
|
||||||
$ConfigLang = $GLOBALS['HTTP_COOKIE_VARS']['ConfigLang'] ? $GLOBALS['HTTP_COOKIE_VARS']['ConfigLang'] : $GLOBALS['HTTP_POST_VARS']['ConfigLang'];
|
$ConfigLang = get_var('ConfigLang',Array('POST','COOKIE'));
|
||||||
|
|
||||||
$select = '<select name="ConfigLang">' . "\n";
|
$select = '<select name="ConfigLang">' . "\n";
|
||||||
$languages = get_langs();
|
$languages = get_langs();
|
||||||
|
Loading…
Reference in New Issue
Block a user