소스 검색

[svn r15615] save reminder_mail even if "send reminder" si not checked (FS#2662)

Eric Marguin 16 년 전
부모
커밋
2d1e2f5ad0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main/survey/survey_invite.php

+ 1 - 1
main/survey/survey_invite.php

@@ -144,7 +144,7 @@ if ($form->validate())
 {
 	$values = $form->exportValues();
 	// save the invitation mail
-	SurveyUtil::save_invite_mail($values['mail_text'], $values['resend_to_all']);
+	SurveyUtil::save_invite_mail($values['mail_text'], !empty($survey_data['invite_mail']));
 	// saving the invitations for the course users
 	$count_course_users = SurveyUtil::save_invitations($values['course_users'], $values['mail_title'], $values['mail_text'], $values['resend_to_all'], $values['send_mail']);
 	// saving the invitations for the additional users