From 128b5f5dd3f69af7d2641d8bf2c1e131469215f2 Mon Sep 17 00:00:00 2001 From: Olivier Perez <olivier@olivierperez.fr> Date: Mon, 7 Dec 2015 13:57:29 +0100 Subject: [PATCH] Fix slots/votes/comments selection for granted users --- studs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studs.php b/studs.php index 459ebba9..7311efa8 100644 --- a/studs.php +++ b/studs.php @@ -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); -- GitLab