Commit 128b5f5d authored by Olivier Perez's avatar Olivier Perez
Browse files

Fix slots/votes/comments selection for granted users

parent ab9c0660
......@@ -178,7 +178,7 @@ if ($accessGranted) {
}
// Retrieve data
if ($resultPubliclyVisible) {
if ($resultPubliclyVisible || $accessGranted) {
$slots = $pollService->allSlotsByPoll($poll);
$votes = $pollService->allVotesByPollId($poll_id);
$comments = $pollService->allCommentsByPollId($poll_id);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment