ParticipantService - hasParticipantFilledSurvey() method - fix "Response: HTTP/1.1 500 Internal Server Error" bug while trying to get information if participant has filled survey

This commit is contained in:
Meritoo
2017-10-01 15:01:54 +02:00
parent 0c44140c89
commit 5154f05ee4

View File

@@ -203,7 +203,10 @@ class ParticipantService
{ {
if ($this->hasParticipant($surveyId, $email)) { if ($this->hasParticipant($surveyId, $email)) {
$arguments = [ $arguments = [
$surveyId,
[
'email' => $email, 'email' => $email,
],
]; ];
/* @var Participant $participant */ /* @var Participant $participant */