? invite-DRUPAL-6--2.patch.tmp
Index: invite.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/invite/invite.module,v
retrieving revision 1.25.2.13
diff -u -p -r1.25.2.13 invite.module
--- invite.module	1 Aug 2010 08:23:01 -0000	1.25.2.13
+++ invite.module	1 Aug 2010 08:24:53 -0000
@@ -1016,7 +1016,7 @@ function _invite_get_emails($string) {
   $ipv6 = '[0-9a-fA-F]{1,4}(\:[0-9a-fA-F]{1,4}){7}';
   $rx = "/($user@($domain|(\[($ipv4|$ipv6)\])))>?$/";
 
-  $emails = array_unique(split("[,\n\r]", $string));
+  $emails = array_unique(split("[,\n\r]", drupal_strtolower($string)));
   foreach ($emails as $email) {
     $email = preg_replace('/^.*<(.*)>$/', '${1}', trim($email));
     if ($email) {
