forked from science-ation/science-ation
Send new participant email on invitation by school to the contactemail as well as the student email
This commit is contained in:
parent
b717bca5f0
commit
883b53c71b
@ -57,7 +57,9 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
|
||||
'".mysql_escape_string($_POST['grade'])."',
|
||||
'".$config['FAIRYEAR']."')");
|
||||
|
||||
email_send("new_participant",$_POST['email'],array("FAIRNAME"=>i18n($config['fairname'])),array("REGNUM"=>$regnum, "FAIRNAME"=>i18n($config['fairname'])));
|
||||
email_send("new_participant",$_POST['email'],array("FAIRNAME"=>i18n($config['fairname'])),array("REGNUM"=>$regnum, "FAIRNAME"=>i18n($config['fairname']),"EMAIL"=>$_POST['email']));
|
||||
if($_POST['emailcontact'])
|
||||
email_send("new_participant",$_POST['emailcontact'],array("FAIRNAME"=>i18n($config['fairname'])),array("REGNUM"=>$regnum, "FAIRNAME"=>i18n($config['fairname']),"EMAIL"=>$_POST['email']));
|
||||
echo happy(i18n("The participant has been successfully invited"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user