aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-07 19:32:23 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-07 19:32:23 +0000
commit0e7adebad6e61c066b52e5480d5aa36a23571388 (patch)
tree084461c12434d2b18e791d482ee352566fc0b65e /phpBB/includes/ucp
parent13b9021ae436a625aed61ba20b9d337bf585f6ba (diff)
downloadforums-0e7adebad6e61c066b52e5480d5aa36a23571388.tar
forums-0e7adebad6e61c066b52e5480d5aa36a23571388.tar.gz
forums-0e7adebad6e61c066b52e5480d5aa36a23571388.tar.bz2
forums-0e7adebad6e61c066b52e5480d5aa36a23571388.tar.xz
forums-0e7adebad6e61c066b52e5480d5aa36a23571388.zip
ok, sorry for this. :/
- cleaned up table names/constants git-svn-id: file:///svn/phpbb/trunk@6021 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_profile.php4
-rw-r--r--phpBB/includes/ucp/ucp_register.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index 1087d2f575..8488f30968 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -313,7 +313,7 @@ class ucp_profile
// Update Custom Fields
if (sizeof($cp_data))
{
- $sql = 'UPDATE ' . PROFILE_DATA_TABLE . '
+ $sql = 'UPDATE ' . PROFILE_FIELDS_DATA_TABLE . '
SET ' . $db->sql_build_array('UPDATE', $cp_data) . '
WHERE user_id = ' . $user->data['user_id'];
$db->sql_query($sql);
@@ -324,7 +324,7 @@ class ucp_profile
$db->return_on_error = true;
- $sql = 'INSERT INTO ' . PROFILE_DATA_TABLE . ' ' . $db->sql_build_array('INSERT', $cp_data);
+ $sql = 'INSERT INTO ' . PROFILE_FIELDS_DATA_TABLE . ' ' . $db->sql_build_array('INSERT', $cp_data);
$db->sql_query($sql);
$db->return_on_error = false;
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php
index 99eed58884..92b70ca507 100644
--- a/phpBB/includes/ucp/ucp_register.php
+++ b/phpBB/includes/ucp/ucp_register.php
@@ -294,7 +294,7 @@ class ucp_register
if (sizeof($cp_data))
{
$cp_data['user_id'] = (int) $user_id;
- $sql = 'INSERT INTO ' . PROFILE_DATA_TABLE . ' ' . $db->sql_build_array('INSERT', $cp->build_insert_sql_array($cp_data));
+ $sql = 'INSERT INTO ' . PROFILE_FIELDS_DATA_TABLE . ' ' . $db->sql_build_array('INSERT', $cp->build_insert_sql_array($cp_data));
$db->sql_query($sql);
}