From 8b92fc4998fe693d2a194ecb974900f50b197da1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 13 Feb 2010 04:47:01 +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 b31777f0c2..1e5e88023c 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; }