--- loncom/lti/ltiauth.pm 2021/08/07 20:11:53 1.22 +++ loncom/lti/ltiauth.pm 2021/08/12 00:05:27 1.23 @@ -1,7 +1,7 @@ # The LearningOnline Network # Basic LTI Authentication Module # -# $Id: ltiauth.pm,v 1.22 2021/08/07 20:11:53 raeburn Exp $ +# $Id: ltiauth.pm,v 1.23 2021/08/12 00:05:27 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -854,7 +854,7 @@ sub lti_session { my $lowest_load; ($otherserver,undef,undef,undef,$lowest_load) = &Apache::lonnet::choose_server($udom); if ($lowest_load > 100) { - $otherserver = &Apache::lonnet::spareserver($lowest_load,$lowest_load,1,$udom); + $otherserver = &Apache::lonnet::spareserver($r,$lowest_load,$lowest_load,1,$udom); } } if ($otherserver ne '') {