forked from science-ation/science-ation
Remove redundancy
This commit is contained in:
parent
95a28b4a29
commit
56cbd2dba5
@ -233,9 +233,7 @@ echo mysql_Error();
|
||||
|
||||
foreach($recipients AS $recip) {
|
||||
$to=$recip['to'];
|
||||
$subsub=array(
|
||||
"FAIRNAME"=>$config['fairname']
|
||||
);
|
||||
$subsub=array();
|
||||
$subbod=array(
|
||||
"TO"=>$recip['to'],
|
||||
"EMAIL"=>$recip['email'],
|
||||
@ -244,7 +242,6 @@ echo mysql_Error();
|
||||
"NAME"=>$recip['firstname']." ".$recip['lastname'],
|
||||
"REGNUM"=>$regnum,
|
||||
"PROJECTNUMBER"=>$projectnumber,
|
||||
"FAIRNAME"=>$config['fairname']
|
||||
);
|
||||
email_send("register_participants_received",$to,$subsub,$subbod);
|
||||
}
|
||||
@ -258,9 +255,7 @@ echo mysql_Error();
|
||||
|
||||
foreach($recipients AS $recip) {
|
||||
$to=$recip['to'];
|
||||
$subsub=array(
|
||||
"FAIRNAME"=>$config['fairname']
|
||||
);
|
||||
$subsub=array();
|
||||
$subbod=array(
|
||||
"TO"=>$recip['to'],
|
||||
"EMAIL"=>$recip['email'],
|
||||
@ -269,7 +264,6 @@ echo mysql_Error();
|
||||
"NAME"=>$recip['firstname']." ".$recip['lastname'],
|
||||
"REGNUM"=>$regnum,
|
||||
"PROJECTNUMBER"=>$projectnumber,
|
||||
"FAIRNAME"=>$config['fairname']
|
||||
);
|
||||
|
||||
email_send("register_participants_paymentpending",$to,$subsub,$subbod);
|
||||
|
Loading…
x
Reference in New Issue
Block a user