--- rat/lonwrapper.pm 2017/05/10 19:25:28 1.64 +++ rat/lonwrapper.pm 2017/11/30 14:41:30 1.65 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Wrapper for external and binary files as standalone resources # -# $Id: lonwrapper.pm,v 1.64 2017/05/10 19:25:28 raeburn Exp $ +# $Id: lonwrapper.pm,v 1.65 2017/11/30 14:41:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -226,7 +226,7 @@ sub handler { my %toolhash = &Apache::lonnet::get('exttool_'.$marker,['target','linktext','explanation','id','width','height'], $cdom,$cnum); if ($toolhash{'id'}) { - my %ltitools = &Apache::lonnet::get_domain_ltitools($cdom); + my %ltitools = &Apache::lonnet::get_domain_lti($cdom,'consumer'); if (ref($ltitools{$toolhash{'id'}}) eq 'HASH') { $exttoolremote = $ltitools{$toolhash{'id'}}{'url'}; }