Changeset 2215869
- Timestamp:
- 12/20/2019 05:48:40 PM (6 years ago)
- File:
-
- 1 edited
-
ecampaign/branches/maintenance/uk/MP.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ecampaign/branches/maintenance/uk/MP.class.php
r1974931 r2215869 151 151 152 152 $emails = preg_split("/[\s,]+/",$mpStored['email']) ; $memberEmail = $emails[0]; // take first email address on the line 153 154 if (empty(trim($memberEmail))) 155 throw new Exception ("We do not have an email address for " . $mpInfo['full_name']); 156 157 if ($memberEmail == 'unpublished') // test postcode SO40 0SN 158 throw new Exception ("There is no published email address for " . $mpInfo['full_name']); 153 159 154 160 if (!filter_var($memberEmail, FILTER_VALIDATE_EMAIL))
Note: See TracChangeset
for help on using the changeset viewer.