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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 05 Jan 2006 19:52:53 -0000


albertel		Thu Jan  5 14:52:53 2006 EDT

  Modified files:              
    /loncom/interface	lonmsg.pm 
  Log:
  - BUG$4542, older messages didn't have a recuser, 
  
  
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.167 loncom/interface/lonmsg.pm:1.168
--- loncom/interface/lonmsg.pm:1.167	Mon Jan  2 23:17:02 2006
+++ loncom/interface/lonmsg.pm	Thu Jan  5 14:52:52 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging
 #
-# $Id: lonmsg.pm,v 1.167 2006/01/03 04:17:02 raeburn Exp $
+# $Id: lonmsg.pm,v 1.168 2006/01/05 19:52:52 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -241,6 +241,7 @@
            }
        }
     }
+    if (!exists($content{'recuser'})) { $content{'recuser'} = []; }
     if ($content{'attachmenturl'}) {
        my ($fname)=($content{'attachmenturl'}=~m|/([^/]+)$|);
        if ($notoken) {