mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02: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:
@@ -398,7 +398,7 @@ class custom_profile
|
|||||||
|
|
||||||
if (!$db->sql_affectedrows())
|
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);
|
$db->sql_return_on_error(true);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user