Skip to content

Commit 3893628

Browse files
committed
fix reset bug
1 parent aa8ed35 commit 3893628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/Team/SubmissionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function createAction(Request $request, ?Problem $problem = null): Respon
167167
$active_tab = $cookie_active_tab;
168168
}
169169
else {
170-
$active_tab = reset($active_tab);
170+
$active_tab = reset($active_tab_array);
171171
$this->dj->setCookie('active_tab', $active_tab);
172172
}
173173
}

0 commit comments

Comments
 (0)