Skip to content
Snippets Groups Projects
Commit 128b5f5d authored by Olivier Perez's avatar Olivier Perez
Browse files

Fix slots/votes/comments selection for granted users

parent ab9c0660
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment