diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-07-06 00:18:01 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-07-06 00:18:01 +0000 |
commit | bdffc319bea1fcedb8c33792d558f4b358e08876 (patch) | |
tree | e877036ae07773c4a9d0e485df5e6cb5921f30ba | |
parent | 574bec0638626f44f2ec02d7cae0020425ac1302 (diff) | |
download | forums-bdffc319bea1fcedb8c33792d558f4b358e08876.tar forums-bdffc319bea1fcedb8c33792d558f4b358e08876.tar.gz forums-bdffc319bea1fcedb8c33792d558f4b358e08876.tar.bz2 forums-bdffc319bea1fcedb8c33792d558f4b358e08876.tar.xz forums-bdffc319bea1fcedb8c33792d558f4b358e08876.zip |
More error fixing
git-svn-id: file:///svn/phpbb/trunk@580 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/profile.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php index 3f41d266c3..e0fa53d3ed 100644 --- a/phpBB/profile.php +++ b/phpBB/profile.php @@ -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 // $sql = "SELECT MAX(user_id) AS total - FROM ".USERS_TABLE; + FROM " . USERS_TABLE; if($result = $db->sql_query($sql)) { $user_id_row = $db->sql_fetchrow($result); @@ -854,14 +854,14 @@ if(isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode'])) $password_confirm = ""; $icq = $userdata['user_icq']; - $aim = stripslashes($$userdata['user_aim']); - $msn = stripslashes($$userdata['user_msnm']); - $yim = stripslashes($$userdata['user_yim']); - - $website = stripslashes($$userdata['user_website']); - $location = stripslashes($$userdata['user_from']); - $occupation = stripslashes($$userdata['user_occ']); - $interests = stripslashes($$userdata['user_interests']); + $aim = stripslashes($userdata['user_aim']); + $msn = stripslashes($userdata['user_msnm']); + $yim = stripslashes($userdata['user_yim']); + + $website = stripslashes($userdata['user_website']); + $location = stripslashes($userdata['user_from']); + $occupation = stripslashes($userdata['user_occ']); + $interests = stripslashes($userdata['user_interests']); $signature = stripslashes($userdata['user_sig']); $viewemail = $userdata['user_viewemail']; |