@@ -975,7 +975,7 @@ |
||
| 975 | 975 | else |
| 976 | 976 | { |
| 977 | 977 | $return = array(); |
| 978 | - while($row = mysqli_fetch_assoc($request)) |
|
| 978 | + while ($row = mysqli_fetch_assoc($request)) |
|
| 979 | 979 | $return[] = $row; |
| 980 | 980 | } |
| 981 | 981 | return !empty($return) ? $return : array(); |
@@ -501,7 +501,7 @@ discard block |
||
| 501 | 501 | ); |
| 502 | 502 | |
| 503 | 503 | $insert = array(); |
| 504 | - foreach ( $changed_boards[$board_action] as $board_id) |
|
| 504 | + foreach ($changed_boards[$board_action] as $board_id) |
|
| 505 | 505 | $insert[] = array($id_group, $board_id, $board_action == 'allow' ? 0 : 1); |
| 506 | 506 | |
| 507 | 507 | $smcFunc['db_insert']('insert', |
@@ -851,7 +851,7 @@ discard block |
||
| 851 | 851 | ); |
| 852 | 852 | |
| 853 | 853 | $insert = array(); |
| 854 | - foreach ( $changed_boards[$board_action] as $board_id) |
|
| 854 | + foreach ($changed_boards[$board_action] as $board_id) |
|
| 855 | 855 | $insert[] = array((int) $_REQUEST['group'], $board_id, $board_action == 'allow' ? 0 : 1); |
| 856 | 856 | |
| 857 | 857 | $smcFunc['db_insert']('insert', |