aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-06-07 07:04:26 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-06-07 07:04:26 +0000
commitf49da7909befa8cb1745236bcb6e0b4d1ad87762 (patch)
treeb402baa15a74f4c0685dda6e76cdfabf93f8bb79 /phpBB/profile.php
parent999a0c9d1a0fd29a80f1b1e2ec4e263960d09e13 (diff)
downloadforums-f49da7909befa8cb1745236bcb6e0b4d1ad87762.tar
forums-f49da7909befa8cb1745236bcb6e0b4d1ad87762.tar.gz
forums-f49da7909befa8cb1745236bcb6e0b4d1ad87762.tar.bz2
forums-f49da7909befa8cb1745236bcb6e0b4d1ad87762.tar.xz
forums-f49da7909befa8cb1745236bcb6e0b4d1ad87762.zip
Fixed postgres query in index
Fixed profile so people arn't created with automatic admin status (eek) git-svn-id: file:///svn/phpbb/trunk@436 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index beaa7f743a..924bd6d2d3 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -516,7 +516,7 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']))
{
$sql = "UPDATE ".USERS_TABLE."
- SET username = '$username'".$passwd_sql.", user_email = '$email', user_icq = '$icq', user_website = '$website', user_occ = '$occ', 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_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_level = '".USER."', user_icq = '$icq', user_website = '$website', user_occ = '$occ', 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_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";
if($result = $db->sql_query($sql))