diff --git a/common.inc.php b/common.inc.php index 84a2ce1..61db981 100644 --- a/common.inc.php +++ b/common.inc.php @@ -922,7 +922,7 @@ function getEmailRecipientsForRegistration($reg_id) $q=mysql_query("SELECT * FROM registrations WHERE id='$reg_id' AND year='{$config['FAIRYEAR']}'"); $registration=mysql_fetch_object($q); - if($registration->emailcontact) && isEmailAddress($registration->emailcontact)) { + if($registration->emailcontact && isEmailAddress($registration->emailcontact)) { $ret[]=array("to"=>$registration->emailcontact, "firstname"=>"", "lastname"=>"",