[LON-CAPA-cvs] cvs: loncom /interface lonmsgdisplay.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 29 Jan 2007 20:07:46 -0000


albertel		Mon Jan 29 15:07:46 2007 EDT

  Modified files:              
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  - name:domain , name2:domain wasn't working
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.65 loncom/interface/lonmsgdisplay.pm:1.66
--- loncom/interface/lonmsgdisplay.pm:1.65	Mon Jan 22 16:51:05 2007
+++ loncom/interface/lonmsgdisplay.pm	Mon Jan 29 15:07:44 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.65 2007/01/22 21:51:05 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.66 2007/01/29 20:07:44 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2280,7 +2280,7 @@
 	    }
 	}
 	if ($env{'form.additionalrec'}) {
-	    foreach my $rec (split(/\,/,$env{'form.additionalrec'})) {
+	    foreach my $rec (split(/\s*,\s*/,$env{'form.additionalrec'})) {
 		my ($auname,$audom)=split(/:/,$rec);
 		if (($auname ne "") && ($audom ne "")) {
 		    $toaddr{$auname.':'.$audom}='';