From 62471fe5813329ebcee8de7d0e93c492ea1f8635 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Mon, 6 Jul 2009 13:42:43 +0000 Subject: 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 --- phpBB/includes/functions_profile_fields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/functions_profile_fields.php') 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); -- cgit v1.2.1