diff --git a/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php b/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php index f00772780..c60f91e8d 100644 --- a/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php +++ b/admin/survey/classes/surveyEmails/class.SurveyInvitationsNew.php @@ -3889,7 +3889,7 @@ class SurveyInvitationsNew { $sending_results = $squalo->sendSqualoInvitations($sql_query, $sending_data); } else{ - $sending_results = $this->sendMailToUser($sql_query, $sending_data); + $sending_results = $this->sendMailToUsers($sql_query, $sending_data); } $send_ok = $sending_results['send_ok'];