From 5154f05ee42b15add87ab8ea0d7acb5626653b6d Mon Sep 17 00:00:00 2001 From: Meritoo Date: Sun, 1 Oct 2017 15:01:54 +0200 Subject: [PATCH] ParticipantService - hasParticipantFilledSurvey() method - fix "Response: HTTP/1.1 500 Internal Server Error" bug while trying to get information if participant has filled survey --- src/Service/ParticipantService.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Service/ParticipantService.php b/src/Service/ParticipantService.php index 873a59d..260d91b 100644 --- a/src/Service/ParticipantService.php +++ b/src/Service/ParticipantService.php @@ -203,7 +203,10 @@ class ParticipantService { if ($this->hasParticipant($surveyId, $email)) { $arguments = [ - 'email' => $email, + $surveyId, + [ + 'email' => $email, + ], ]; /* @var Participant $participant */