We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -128,7 +128,7 @@ |
||
128 | 128 | AND receiver_delete = ' . $db->escapeBoolean(false) . ' |
129 | 129 | ORDER BY send_time DESC'); |
130 | 130 | foreach ($dbResult->records() as $dbRecord) { |
131 | - $groupBox =& $messageBox['GroupedMessages'][$dbRecord->getInt('sender_id')]; |
|
131 | + $groupBox = & $messageBox['GroupedMessages'][$dbRecord->getInt('sender_id')]; |
|
132 | 132 | // Limit the number of messages in each group |
133 | 133 | if (!isset($groupBox['Messages']) || count($groupBox['Messages']) < MESSAGE_SCOUT_GROUP_LIMIT) { |
134 | 134 | displayMessage($groupBox, $dbRecord->getInt('message_id'), $dbRecord->getInt('account_id'), $dbRecord->getInt('sender_id'), $player->getGameID(), stripslashes($dbRecord->getString('message_text')), $dbRecord->getInt('send_time'), $dbRecord->getBoolean('msg_read'), MSG_SCOUT, $player->getAccount()); |
@@ -36,13 +36,13 @@ |
||
36 | 36 | const USER_SCORE_NAME = 'User Score'; |
37 | 37 | $hofTypes = array(DONATION_NAME=>true, USER_SCORE_NAME=>true); |
38 | 38 | foreach ($dbResult->records() as $dbRecord) { |
39 | - $hof =& $hofTypes; |
|
39 | + $hof = & $hofTypes; |
|
40 | 40 | $typeList = explode(':', $dbRecord->getString('type')); |
41 | 41 | foreach ($typeList as $type) { |
42 | 42 | if (!isset($hof[$type])) { |
43 | 43 | $hof[$type] = array(); |
44 | 44 | } |
45 | - $hof =& $hof[$type]; |
|
45 | + $hof = & $hof[$type]; |
|
46 | 46 | } |
47 | 47 | $hof = true; |
48 | 48 | } |
@@ -387,13 +387,13 @@ |
||
387 | 387 | $dbResult = $this->db->read('SELECT type,sum(amount) as amount FROM player_hof WHERE ' . $this->SQL . ' AND game_id IN (SELECT game_id FROM game WHERE ignore_stats = \'FALSE\') GROUP BY type'); |
388 | 388 | $this->HOF = array(); |
389 | 389 | foreach ($dbResult->records() as $dbRecord) { |
390 | - $hof =& $this->HOF; |
|
390 | + $hof = & $this->HOF; |
|
391 | 391 | $typeList = explode(':', $dbRecord->getString('type')); |
392 | 392 | foreach ($typeList as $type) { |
393 | 393 | if (!isset($hof[$type])) { |
394 | 394 | $hof[$type] = array(); |
395 | 395 | } |
396 | - $hof =& $hof[$type]; |
|
396 | + $hof = & $hof[$type]; |
|
397 | 397 | } |
398 | 398 | $hof = $dbRecord->getFloat('amount'); |
399 | 399 | } |