From cf62c55185c5d778cfa92004974b9758a703225e Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 28 Jan 2010 08:34:35 +0000 Subject: [PATCH] Remove redundancy --- schoolinvite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")); } }