mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
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:
parent
1d655f2f3e
commit
62471fe581
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue