Replace the fairname in the message body

This commit is contained in:
james 2007-12-08 17:25:14 +00:00
parent e00a3a9d4b
commit 5de0bfac48

View File

@ -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"));
}
}