We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -20,11 +20,11 @@ |
||
20 | 20 | $this->includeTemplate('includes/ForceFullCombatResults.inc', array('FullForceCombatResults'=>$CombatResults)); |
21 | 21 | } elseif ($CombatResultsType == 'PORT') { |
22 | 22 | $this->includeTemplate('includes/PortFullCombatResults.inc', array('FullPortCombatResults'=>$CombatResults, |
23 | - 'MinimalDisplay'=>false, |
|
24 | - 'AlreadyDestroyed'=>false)); |
|
23 | + 'MinimalDisplay'=>false, |
|
24 | + 'AlreadyDestroyed'=>false)); |
|
25 | 25 | } elseif ($CombatResultsType == 'PLANET') { |
26 | 26 | $this->includeTemplate('includes/PlanetFullCombatResults.inc', array('FullPlanetCombatResults'=>$CombatResults, |
27 | - 'MinimalDisplay'=>false, |
|
28 | - 'AlreadyDestroyed'=>false)); |
|
27 | + 'MinimalDisplay'=>false, |
|
28 | + 'AlreadyDestroyed'=>false)); |
|
29 | 29 | } |
30 | 30 | ?> |
@@ -7,4 +7,4 @@ |
||
7 | 7 | $msg = '<span class="green">SUCCESS: </span>Enabled game ' . $game->getDisplayName(); |
8 | 8 | |
9 | 9 | forward(create_container('skeleton.php', 'enable_game.php', |
10 | - array('processing_msg' => $msg))); |
|
10 | + array('processing_msg' => $msg))); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | $db->query('SELECT game_id, game_name FROM game WHERE game_type=' . $db->escapeNumber(SmrGame::GAME_TYPE_DRAFT) . ' AND join_time < ' . $db->escapeNumber(TIME) . ' AND end_time > ' . $db->escapeNumber(TIME) . ' ORDER BY start_time DESC'); |
8 | 8 | while ($db->nextRecord()) { |
9 | 9 | $activeGames[] = array('game_name' => $db->getField('game_name'), |
10 | - 'game_id' => $db->getInt('game_id')); |
|
10 | + 'game_id' => $db->getInt('game_id')); |
|
11 | 11 | } |
12 | 12 | $template->assign('ActiveGames', $activeGames); |
13 | 13 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | // Get the dates ("|" sets hr/min/sec to 0) |
4 | 4 | $join = DateTime::createFromFormat('d/m/Y|', Request::get('game_join')); |
5 | 5 | $start = empty(Request::get('game_start')) ? $join : |
6 | - DateTime::createFromFormat('d/m/Y|', Request::get('game_start')); |
|
6 | + DateTime::createFromFormat('d/m/Y|', Request::get('game_start')); |
|
7 | 7 | $end = DateTime::createFromFormat('d/m/Y|', Request::get('game_end')); |
8 | 8 | |
9 | 9 | $game = SmrGame::getGame($var['game_id']); |
@@ -16,7 +16,7 @@ |
||
16 | 16 | // Get the dates ("|" sets hr/min/sec to 0) |
17 | 17 | $join = DateTime::createFromFormat('d/m/Y|', Request::get('game_join')); |
18 | 18 | $start = empty(Request::get('game_start')) ? $join : |
19 | - DateTime::createFromFormat('d/m/Y|', Request::get('game_start')); |
|
19 | + DateTime::createFromFormat('d/m/Y|', Request::get('game_start')); |
|
20 | 20 | $end = DateTime::createFromFormat('d/m/Y|', Request::get('game_end')); |
21 | 21 | |
22 | 22 | $game = SmrGame::createGame($newID); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | |
36 | 36 | // Set the body of the e-mail |
37 | 37 | set_mail_body($mail, $var['newsletter_html'], $var['newsletter_text'], |
38 | - Request::get('salutation')); |
|
38 | + Request::get('salutation')); |
|
39 | 39 | |
40 | 40 | if (Request::get('to_email') == '*') { |
41 | 41 | // Send the newsletter to all players. |
@@ -35,7 +35,7 @@ |
||
35 | 35 | } |
36 | 36 | $helper = self::getTwitterObj($_SESSION['TwitterToken']); |
37 | 37 | $accessToken = $helper->oauth('oauth/access_token', |
38 | - ['oauth_verifier' => \Request::get('oauth_verifier')]); |
|
38 | + ['oauth_verifier' => \Request::get('oauth_verifier')]); |
|
39 | 39 | $auth = self::getTwitterObj($accessToken); |
40 | 40 | $userInfo = $auth->get('account/verify_credentials', ['include_email' => 'true']); |
41 | 41 | if ($auth->getLastHttpCode() == 200) { |