Fix slots/votes/comments selection for granted users

This commit is contained in:
Olivier Perez 2015-12-07 13:57:29 +01:00
parent ab9c0660cf
commit 128b5f5dd3

View File

@ -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);