Use team 0 to display solutions
This commit is contained in:
parent
05bc4c605c
commit
458060bc3b
6 changed files with 25 additions and 20 deletions
|
|
@ -53,7 +53,7 @@
|
|||
}
|
||||
samp {
|
||||
display: block;
|
||||
overflow-x: scroll;
|
||||
overflow-x: auto;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ else if ($n && $p[0] == SALT_USER)
|
|||
$page = "teams/list";
|
||||
}
|
||||
|
||||
else if (empty($VAR["start_challenge"]))
|
||||
else if (!empty($p[1]) && empty($VAR["start_challenge"]))
|
||||
{
|
||||
$TEAM = new Team($p[1]);
|
||||
$template->assign("my_team", $TEAM);
|
||||
|
|
@ -150,7 +150,7 @@ else if ($n && $p[0] == SALT_USER)
|
|||
$page = "teams/lobby";
|
||||
}
|
||||
|
||||
else if (time() > $VAR["end_challenge"])
|
||||
else if (!empty($p[1]) && time() > $VAR["end_challenge"])
|
||||
{
|
||||
$TEAM = new Team($p[1]);
|
||||
$template->assign("my_team", $TEAM);
|
||||
|
|
|
|||
Reference in a new issue