--- loncom/interface/lonexttool.pm 2016/01/11 16:42:37 1.1 +++ loncom/interface/lonexttool.pm 2016/01/25 20:13:02 1.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Launch External Tool Provider (LTI) # -# $Id: lonexttool.pm,v 1.1 2016/01/11 16:42:37 raeburn Exp $ +# $Id: lonexttool.pm,v 1.2 2016/01/25 20:13:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -175,7 +175,7 @@ sub lti_params { @userlangs=(@userlangs,split(/\s*(\,|\;|\:)\s*/, $env{'course.'.$env{'request.course.id'}.'.languages'})); } else { - my %langhash = &getlangs($uname,$udom); + my %langhash = &Apache::loncommon::getlangs($uname,$udom); if ($langhash{'languages'} ne '') { @userlangs = split(/\s*(\,|\;|\:)\s*/,$langhash{'languages'}); } else { @@ -266,7 +266,7 @@ sub lti_params { last; } } - $ltiparams{'lis_person_contact_email_primary'} = &contact_email; + $ltiparams{'lis_person_contact_email_primary'} = $contact_email; } if (keys(%custom)) { foreach my $key (keys(%custom)) {