Permalink
Browse files

Fixed a bug in games auto-update logic.

  • Loading branch information...
espr1t committed Dec 31, 2018
1 parent 19c26ce commit 28706d2f9d2b1ad1eeb6dd22b6e6ecd65d971781
Showing with 2 additions and 2 deletions.
  1. +2 −2 web/code/games.php
@@ -834,9 +834,9 @@ private function getSubmitUpdates($problem, $submitId) {
while (true) {
$content = '';
if ($problem->type == 'game') {
$content = $this->getGameSubmitInfoBoxContent($problem, $submitId, $redirectUrl);
$content = $this->getGameSubmitInfoBoxContent($problem, $submitId, '');
} else if ($problem->type == 'relative') {
$content = $this->getRelativeSubmitInfoBoxContent($problem, $submitId, $redirectUrl);
$content = $this->getRelativeSubmitInfoBoxContent($problem, $submitId, '');
}
if ($content != $lastContent) {

0 comments on commit 28706d2

Please sign in to comment.