aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_profile_fields.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-07-06 13:42:43 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-07-06 13:42:43 +0000
commit62471fe5813329ebcee8de7d0e93c492ea1f8635 (patch)
tree65c237d94e77978c240753c0c4f19b60c3dea0ee /phpBB/includes/functions_profile_fields.php
parent1d655f2f3e61a673573e5ea3cc863e34a1bb8eaa (diff)
downloadforums-62471fe5813329ebcee8de7d0e93c492ea1f8635.tar
forums-62471fe5813329ebcee8de7d0e93c492ea1f8635.tar.gz
forums-62471fe5813329ebcee8de7d0e93c492ea1f8635.tar.bz2
forums-62471fe5813329ebcee8de7d0e93c492ea1f8635.tar.xz
forums-62471fe5813329ebcee8de7d0e93c492ea1f8635.zip
Fix an endless loop; don't return the sql array by reference
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9717 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r--phpBB/includes/functions_profile_fields.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php
index abdae926bd..bb1ec476c4 100644
--- a/phpBB/includes/functions_profile_fields.php
+++ b/phpBB/includes/functions_profile_fields.php
@@ -398,7 +398,7 @@ class custom_profile
if (!$db->sql_affectedrows())
{
- $cp_data['user_id'] = (int) $user_id;
+ $cp_data_sql['user_id'] = (int) $user_id;
$db->sql_return_on_error(true);