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

raeburn raeburn@source.lon-capa.org
Mon, 05 Jan 2009 20:08:25 -0000


raeburn		Mon Jan  5 20:08:25 2009 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/interface	lonmsg.pm 
  Log:
  - Backport 1.221.
  
  
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.214.2.4 loncom/interface/lonmsg.pm:1.214.2.5
--- loncom/interface/lonmsg.pm:1.214.2.4	Sun Jan  4 16:21:10 2009
+++ loncom/interface/lonmsg.pm	Mon Jan  5 20:08:25 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging
 #
-# $Id: lonmsg.pm,v 1.214.2.4 2009/01/04 16:21:10 raeburn Exp $
+# $Id: lonmsg.pm,v 1.214.2.5 2009/01/05 20:08:25 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -965,7 +965,7 @@
         @userlangs=(@userlangs,split(/\s*(\,|\;|\:)\s*/,
                     $env{'course.'.$fromcid.'.languages'}));
     } else {
-        my %langhash = &Apache::loncommon::getlangs($toudom,$touname);
+        my %langhash = &Apache::loncommon::getlangs($touname,$toudom);
         if ($langhash{'languages'} ne '') {
             @userlangs = split(/\s*(\,|\;|\:)\s*/,$langhash{'languages'});  
         } else {