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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 15 Mar 2006 17:05:00 -0000


albertel		Wed Mar 15 12:05:00 2006 EDT

  Modified files:              
    /loncom/interface	lonmsg.pm 
  Log:
  - BUG#4699 - checking section 1 was also checking 10 11 etc
  
  
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.174 loncom/interface/lonmsg.pm:1.175
--- loncom/interface/lonmsg.pm:1.174	Mon Jan 30 02:32:20 2006
+++ loncom/interface/lonmsg.pm	Wed Mar 15 12:05:00 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging
 #
-# $Id: lonmsg.pm,v 1.174 2006/01/30 07:32:20 raeburn Exp $
+# $Id: lonmsg.pm,v 1.175 2006/03/15 17:05:00 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -774,7 +774,7 @@
 	for (i=0; i<document.forms.compemail.elements.length; i++) {
             if 
           (document.forms.compemail.elements[i].name.indexOf
-           ('send_to_&&&'+document.forms.compemail.chksec.value)==0) {
+           ('send_to_&&&'+document.forms.compemail.chksec.value+'&&&')==0) {
 	      document.forms.compemail.elements[i].checked=true;
             }
         }