--- loncom/interface/lonmsg.pm 2008/12/19 02:43:52 1.218 +++ loncom/interface/lonmsg.pm 2008/12/23 19:22:13 1.219 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.218 2008/12/19 02:43:52 raeburn Exp $ +# $Id: lonmsg.pm,v 1.219 2008/12/23 19:22:13 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1005,7 +1005,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 {