mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/9608] Remove use of references in captcha and other places
References are not really needed in PHP due to copy-on-write. Since PHP5, objects are always passed around as identifiers, which means they are mutable. So it is no longer required to pass these by reference either. PHPBB3-9608
This commit is contained in:
@@ -1303,7 +1303,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||
continue;
|
||||
}
|
||||
|
||||
$row =& $rowset[$post_list[$i]];
|
||||
$row = $rowset[$post_list[$i]];
|
||||
$poster_id = $row['user_id'];
|
||||
|
||||
// End signature parsing, only if needed
|
||||
|
Reference in New Issue
Block a user