aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/src/App.php
diff options
context:
space:
mode:
Diffstat (limited to 'services/app/src/App.php')
-rw-r--r--services/app/src/App.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/app/src/App.php b/services/app/src/App.php
index dfcc06d..77f24be 100644
--- a/services/app/src/App.php
+++ b/services/app/src/App.php
@@ -287,6 +287,7 @@ final class App
if ($currentUser === null) {
$answers = [];
} else {
+ // An attendee can see their own answers even if the ranking is hidden.
$answers = $answerRepo->listByQuizIdAndAuthorId($quiz->quiz_id, $currentUser->user_id);
}
} else {