We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -11,4 +11,4 @@ |
||
11 | 11 | $msg = '<span class="green">SUCCESS: </span>Enabled game ' . $game->getDisplayName(); |
12 | 12 | |
13 | 13 | Page::create('skeleton.php', 'admin/enable_game.php', |
14 | - array('processing_msg' => $msg))->go(); |
|
14 | + array('processing_msg' => $msg))->go(); |
@@ -67,9 +67,9 @@ |
||
67 | 67 | $session = Session::getInstance(); |
68 | 68 | $account = $session->getAccount(); |
69 | 69 | if (($vis == HOF_PRIVATE && $account->getAccountID() != $accountID) || |
70 | - ($vis == HOF_ALLIANCE && isset($gameID) && |
|
71 | - !SmrGame::getGame($gameID)->hasEnded() && |
|
72 | - !SmrPlayer::getPlayer($accountID, $gameID)->sameAlliance($session->getPlayer()))) |
|
70 | + ($vis == HOF_ALLIANCE && isset($gameID) && |
|
71 | + !SmrGame::getGame($gameID)->hasEnded() && |
|
72 | + !SmrPlayer::getPlayer($accountID, $gameID)->sameAlliance($session->getPlayer()))) |
|
73 | 73 | { |
74 | 74 | return '-'; |
75 | 75 | } else { |
@@ -51,5 +51,5 @@ |
||
51 | 51 | $template->assign('ProcessingHREF', $processingHREF); |
52 | 52 | |
53 | 53 | $template->assign('PermissionCategories', |
54 | - Smr\AdminPermissions::getPermissionsByCategory()); |
|
54 | + Smr\AdminPermissions::getPermissionsByCategory()); |
|
55 | 55 | } |