mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
/me shoots himself
- Finally fixed that *@&$ bug! git-svn-id: file:///svn/phpbb/trunk@5537 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -121,7 +121,7 @@ class ucp_register
|
||||
array('string', false, 6, 60),
|
||||
array('email')),
|
||||
'email_confirm' => array('string', false, 6, 60),
|
||||
'confirm_code' => array('string', !$config['enable_confirm'], 6, 6),
|
||||
'confirm_code' => array('string', !$config['enable_confirm'], 5, 8),
|
||||
'tz' => array('num', false, -13, 13),
|
||||
'lang' => array('match', false, '#^[a-z_]{2,}$#i'),
|
||||
);
|
||||
@@ -433,6 +433,7 @@ class ucp_register
|
||||
}
|
||||
|
||||
$confirm_image = "<img src=\"ucp.$phpEx$SID&mode=confirm&id=$confirm_id\" alt=\"\" title=\"\" />";
|
||||
$s_hidden_fields .= '<input type="hidden" name="confirm_id" value="' . $confirm_id . '" />';
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user