Changed to use get_var().

This commit is contained in:
skeeter 2002-04-09 23:43:55 +00:00
parent 607dd5b3d9
commit 0bd3848040

View File

@ -99,7 +99,7 @@
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";
$languages = get_langs();