mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
late fix
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9511 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
6c3532761b
commit
0b9e7bf73b
1 changed files with 2 additions and 3 deletions
|
@ -511,12 +511,11 @@ class ucp_register
|
||||||
$sql = 'UPDATE ' . CONFIRM_TABLE . ' SET ' . $db->sql_build_array('UPDATE', array(
|
$sql = 'UPDATE ' . CONFIRM_TABLE . ' SET ' . $db->sql_build_array('UPDATE', array(
|
||||||
'confirm_type' => (int) CONFIRM_REG,
|
'confirm_type' => (int) CONFIRM_REG,
|
||||||
'code' => (string) $code,
|
'code' => (string) $code,
|
||||||
'seed' => (int) $seed) . "
|
'seed' => (int) $seed)) . "
|
||||||
WHERE
|
WHERE
|
||||||
confirm_id = '" . $db->sql_escape($confirm_id) . "' AND
|
confirm_id = '" . $db->sql_escape($confirm_id) . "' AND
|
||||||
session_id = '" . $db->sql_escape($session_id) . "' AND
|
session_id = '" . $db->sql_escape($session_id) . "' AND
|
||||||
confirm_type = " . (int) CONFIRM_REG
|
confirm_type = " . (int) CONFIRM_REG;
|
||||||
);
|
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
}
|
}
|
||||||
$confirm_image = '<img src="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=confirm&id=' . $confirm_id . '&type=' . CONFIRM_REG . $str) . '" alt="" title="" />';
|
$confirm_image = '<img src="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=confirm&id=' . $confirm_id . '&type=' . CONFIRM_REG . $str) . '" alt="" title="" />';
|
||||||
|
|
Loading…
Add table
Reference in a new issue