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
This commit is contained in:
Henry Sudhof 2009-07-06 13:42:43 +00:00
parent 1d655f2f3e
commit 62471fe581

View file

@ -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);