Fix slots/votes/comments selection for granted users
This commit is contained in:
parent
ab9c0660cf
commit
128b5f5dd3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user