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