--- loncom/interface/lonmsg.pm 2008/12/21 04:21:53 1.214.2.2 +++ loncom/interface/lonmsg.pm 2008/12/23 19:27:33 1.214.2.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.214.2.2 2008/12/21 04:21:53 raeburn Exp $ +# $Id: lonmsg.pm,v 1.214.2.3 2008/12/23 19:27:33 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -938,7 +938,7 @@ sub user_lang { @userlangs=(@userlangs,split(/\s*(\,|\;|\:)\s*/, $env{'course.'.$fromcid.'.languages'})); } else { - my %langhash = &Apache::lonnet::get('environment',['languages'],$toudom,$touname); + my %langhash = &Apache::loncommon::getlangs($toudom,$touname); if ($langhash{'languages'} ne '') { @userlangs = split(/\s*(\,|\;|\:)\s*/,$langhash{'languages'}); } else {