diff options
Diffstat (limited to 'services/app/src')
| -rw-r--r-- | services/app/src/App.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/app/src/App.php b/services/app/src/App.php index b3e3491..299646b 100644 --- a/services/app/src/App.php +++ b/services/app/src/App.php @@ -934,6 +934,9 @@ final class App $stats = []; foreach ($correctAnswers as $answer) { + if ($answer->submitted_at < $quiz->started_at) { + continue; + } if (!isset($stats[$answer->author_id])) { $stats[$answer->author_id]['user'] = [ 'name' => $answer->author_name, |
