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

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 04 Jan 2005 15:36:38 -0000


matthew		Tue Jan  4 10:36:38 2005 EDT

  Modified files:              
    /loncom/interface	lonmsg.pm 
  Log:
  Bug 3786:&discourse:Added '_' to the deliminator for student names so you
  can actually send a message to students.
  
  
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.128 loncom/interface/lonmsg.pm:1.129
--- loncom/interface/lonmsg.pm:1.128	Sat Jan  1 13:36:13 2005
+++ loncom/interface/lonmsg.pm	Tue Jan  4 10:36:38 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging
 #
-# $Id: lonmsg.pm,v 1.128 2005/01/01 18:36:13 www Exp $
+# $Id: lonmsg.pm,v 1.129 2005/01/04 15:36:38 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -675,7 +675,7 @@
                       &Apache::loncoursedata::CL_FULLNAME(),
                       &Apache::loncoursedata::CL_SECTION()]);
         next if ($status ne 'Active');
-        my $key = 'send_to_&&&'.$section.'&&&'.$student;
+        my $key = 'send_to_&&&'.$section.'&&&_'.$student;
         if (! defined($fullname) || $fullname eq '') { $fullname = $sname; }
         $r->print('<tr><td><label>'.
                   qq{<input type="checkbox" name="$key">}.('&nbsp;'x2).