--- loncom/interface/lonmsg.pm 2009/01/04 16:21:10 1.214.2.4 +++ loncom/interface/lonmsg.pm 2009/01/05 20:08:25 1.214.2.5 @@ -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 @@ sub user_lang { @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 {