diff --git a/schoolinvite.php b/schoolinvite.php index 07ba1c9..8009286 100644 --- a/schoolinvite.php +++ b/schoolinvite.php @@ -57,9 +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"=>$_POST['email'])); + email_send("new_participant",$_POST['email'],array(),array("REGNUM"=>$regnum, "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'])); + email_send("new_participant",$_POST['emailcontact'],array(),array("REGNUM"=>$regnum, "EMAIL"=>$_POST['email'])); echo happy(i18n("The participant has been successfully invited")); } }