mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
More error fixing
git-svn-id: file:///svn/phpbb/trunk@580 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
574bec0638
commit
bdffc319be
1 changed files with 8 additions and 8 deletions
|
@ -484,7 +484,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
|
||||||
// so we have to explicitly get the next user ID
|
// so we have to explicitly get the next user ID
|
||||||
//
|
//
|
||||||
$sql = "SELECT MAX(user_id) AS total
|
$sql = "SELECT MAX(user_id) AS total
|
||||||
FROM ".USERS_TABLE;
|
FROM " . USERS_TABLE;
|
||||||
if($result = $db->sql_query($sql))
|
if($result = $db->sql_query($sql))
|
||||||
{
|
{
|
||||||
$user_id_row = $db->sql_fetchrow($result);
|
$user_id_row = $db->sql_fetchrow($result);
|
||||||
|
@ -854,14 +854,14 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
|
||||||
$password_confirm = "";
|
$password_confirm = "";
|
||||||
|
|
||||||
$icq = $userdata['user_icq'];
|
$icq = $userdata['user_icq'];
|
||||||
$aim = stripslashes($$userdata['user_aim']);
|
$aim = stripslashes($userdata['user_aim']);
|
||||||
$msn = stripslashes($$userdata['user_msnm']);
|
$msn = stripslashes($userdata['user_msnm']);
|
||||||
$yim = stripslashes($$userdata['user_yim']);
|
$yim = stripslashes($userdata['user_yim']);
|
||||||
|
|
||||||
$website = stripslashes($$userdata['user_website']);
|
$website = stripslashes($userdata['user_website']);
|
||||||
$location = stripslashes($$userdata['user_from']);
|
$location = stripslashes($userdata['user_from']);
|
||||||
$occupation = stripslashes($$userdata['user_occ']);
|
$occupation = stripslashes($userdata['user_occ']);
|
||||||
$interests = stripslashes($$userdata['user_interests']);
|
$interests = stripslashes($userdata['user_interests']);
|
||||||
$signature = stripslashes($userdata['user_sig']);
|
$signature = stripslashes($userdata['user_sig']);
|
||||||
|
|
||||||
$viewemail = $userdata['user_viewemail'];
|
$viewemail = $userdata['user_viewemail'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue