aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/src
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-09 10:31:19 +0900
committernsfisis <nsfisis@gmail.com>2024-03-09 10:31:19 +0900
commit36c64450baffb7bc9f7d7f3080a6395b402b0f7c (patch)
tree5b221189f0325db89ea951a95b8c0ff147471150 /services/app/src
parentefd4b9de2f18e4f76baf34f626162fc3c4284b5d (diff)
downloadphperkaigi-2024-albatross-36c64450baffb7bc9f7d7f3080a6395b402b0f7c.tar.gz
phperkaigi-2024-albatross-36c64450baffb7bc9f7d7f3080a6395b402b0f7c.tar.zst
phperkaigi-2024-albatross-36c64450baffb7bc9f7d7f3080a6395b402b0f7c.zip
chore: add comment
Diffstat (limited to 'services/app/src')
-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 {