mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-30 14:40:34 +02:00
fixed typo in previous commit: problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com>
This commit is contained in:
@ -206,7 +206,7 @@ class setup
|
||||
static function get_lang()
|
||||
{
|
||||
$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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user