mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
- some bugfixes
- set ip_check to A.B.C. by default - display postings in other encodings by default and present link to force the encoding as usual. git-svn-id: file:///svn/phpbb/trunk@6198 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -61,7 +61,7 @@ class ucp_prefs
|
||||
|
||||
$var_ary = array(
|
||||
'dateformat' => array('string', false, 3, 30),
|
||||
'lang' => array('match', false, '#^[a-z_]{2,}$#i'),
|
||||
'lang' => array('match', false, '#^[a-z_\-]{2,}$#i'),
|
||||
'tz' => array('num', false, -14, 14),
|
||||
);
|
||||
|
||||
|
@@ -125,7 +125,7 @@ class ucp_register
|
||||
'email_confirm' => array('string', false, 6, 60),
|
||||
'confirm_code' => array('string', !$config['enable_confirm'], 5, 8),
|
||||
'tz' => array('num', false, -14, 14),
|
||||
'lang' => array('match', false, '#^[a-z_]{2,}$#i'),
|
||||
'lang' => array('match', false, '#^[a-z_\-]{2,}$#i'),
|
||||
);
|
||||
|
||||
$error = validate_data($data, $var_ary);
|
||||
|
Reference in New Issue
Block a user