From 828123e4f80d0b36369f83cf2a492ea57ff81ffc Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 13 Feb 2010 04:51:47 +0000 Subject: [PATCH] fixed typo in previous commit: problem pointed out by Nahuel Grisolia --- setup/inc/class.setup.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/inc/class.setup.inc.php b/setup/inc/class.setup.inc.php index 149e63986f..1b7933174e 100644 --- a/setup/inc/class.setup.inc.php +++ b/setup/inc/class.setup.inc.php @@ -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; }