mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Fixed update query for profile
git-svn-id: file:///svn/phpbb/trunk@531 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
aa4ec32181
commit
a5e8db6bef
1 changed files with 24 additions and 2 deletions
|
@ -475,7 +475,29 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
|
||||||
{
|
{
|
||||||
|
|
||||||
$sql = "UPDATE ".USERS_TABLE."
|
$sql = "UPDATE ".USERS_TABLE."
|
||||||
SET username = '$username'".$passwd_sql.", user_email = '$email', user_icq = '$icq', user_website = '$website', user_occ = '$occupation', user_from = '$location', user_interests = '$interests', user_sig = '$signature', user_viewemail = $viewemail, user_aim = '$aim', user_yim = '$yim', user_msnm = '$msn', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_notify_pm = $notifypm, user_timezone = $user_timezone, user_dateformat = '$user_dateformat', user_lang = '$user_lang', user_template = '$user_template', user_theme = $user_theme".$avatar_sql."
|
SET
|
||||||
|
username = '$username'".$passwd_sql.",
|
||||||
|
user_email = '$email',
|
||||||
|
user_icq = '$icq',
|
||||||
|
user_website = '$website',
|
||||||
|
user_occ = '$occupation',
|
||||||
|
user_from = '$location',
|
||||||
|
user_interests = '$interests',
|
||||||
|
user_sig = '$signature',
|
||||||
|
user_viewemail = $viewemail,
|
||||||
|
user_aim = '$aim',
|
||||||
|
user_yim = '$yim',
|
||||||
|
user_msnm = '$msn',
|
||||||
|
user_attachsig = '$attachsig',
|
||||||
|
user_allowsmile = '$allowsmilies',
|
||||||
|
user_allowhtml = '$allowhtml',
|
||||||
|
user_allowbbcode = '$allowbbcode',
|
||||||
|
user_notify_pm = '$notifypm',
|
||||||
|
user_timezone = '$user_timezone',
|
||||||
|
user_dateformat = '$user_dateformat',
|
||||||
|
user_lang = '$user_lang',
|
||||||
|
user_template = '$user_template',
|
||||||
|
user_theme = '$user_theme".$avatar_sql."'
|
||||||
WHERE user_id = $user_id";
|
WHERE user_id = $user_id";
|
||||||
|
|
||||||
if($result = $db->sql_query($sql))
|
if($result = $db->sql_query($sql))
|
||||||
|
|
Loading…
Add table
Reference in a new issue