diff options
Diffstat (limited to 'phpBB/includes/ucp/ucp_prefs.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_prefs.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_prefs.php b/phpBB/includes/ucp/ucp_prefs.php index cc8565e69d..13167b2b3d 100644 --- a/phpBB/includes/ucp/ucp_prefs.php +++ b/phpBB/includes/ucp/ucp_prefs.php @@ -65,7 +65,7 @@ class ucp_prefs  					$error = validate_data($data, array(  						'dateformat'	=> array('string', false, 1, 30), -						'lang'			=> array('match', false, '#^[a-z0-9_\-]{2,}$#i'), +						'lang'			=> array('language_iso_name'),  						'tz'			=> array('num', false, -14, 14),  					));  | 
