From 31898032c5aef00bf00b1ed03f3f7c89c3adadd4 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 25 Oct 2007 20:45:04 +0000 Subject: [PATCH] Substitute [FAIRNAME] in the body of the messages. --- register_participants.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/register_participants.php b/register_participants.php index b86b958..034a127 100644 --- a/register_participants.php +++ b/register_participants.php @@ -105,7 +105,7 @@ if($r) { - email_send("register_participants_resend_regnum",$_SESSION['email'],array("FAIRNAME"=>i18n($config['fairname'])),array("REGNUM"=>$r->num)); + email_send("register_participants_resend_regnum",$_SESSION['email'],array("FAIRNAME"=>i18n($config['fairname'])),array("REGNUM"=>$r->num,"FAIRNAME"=>i18n($config['fairname']))); send_header("Participant Registration"); echo notice(i18n("Your registration number has been resent to your email addess %1",array($_SESSION['email']),array("email address"))); } @@ -342,7 +342,7 @@ $config['FAIRYEAR']. ")"); - email_send("new_participant",$_SESSION['email'],array("FAIRNAME"=>i18n($config['fairname'])),array("REGNUM"=>$regnum)); + email_send("new_participant",$_SESSION['email'],array("FAIRNAME"=>i18n($config['fairname'])),array("REGNUM"=>$regnum, "FAIRNAME"=>i18n($config['fairname']))); echo i18n("You have been identified as a new registrant. An email has been sent to %1 which contains your new registration number. Please check your email to obtain your registration number and then enter it below:",array($_SESSION['email']),array("email address")); echo "";