mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fixed typo in previous commit: problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com>
This commit is contained in:
parent
34f2a64b51
commit
8b92fc4998
@ -206,7 +206,7 @@ class setup
|
|||||||
static function get_lang()
|
static function get_lang()
|
||||||
{
|
{
|
||||||
$ConfigLang = get_var('ConfigLang', array('POST','COOKIE'));
|
$ConfigLang = get_var('ConfigLang', array('POST','COOKIE'));
|
||||||
if (preg_match('/^[a-z]{2}(-[a-z]{2})?$',$ConfigLang))
|
if (preg_match('/^[a-z]{2}(-[a-z]{2})?$/',$ConfigLang))
|
||||||
{
|
{
|
||||||
return $ConfigLang;
|
return $ConfigLang;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user