Changeset 4316 for extensions/NBC_UserAdvManager/trunk/include
- Timestamp:
- Nov 19, 2009, 10:51:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/include/functions_UserAdvManager.inc.php
r4290 r4316 644 644 645 645 /* Function called from main.inc.php - Check if user's email is in excluded email providers list */ 646 /* Doesn't work on call - Must be copied in main.inc.php to work */ 646 647 function ValidateEmailProvider($email) 647 648 { … … 657 658 $pattern = '/'.$conf_nbc_MailExclusion[$i].'/'; 658 659 if (preg_match($pattern, $ncsemail)) 660 { 659 661 return false; 660 else 662 } 663 else 664 { 661 665 return true; 666 } 662 667 } 663 668 }
Note: See TracChangeset
for help on using the changeset viewer.