--- loncom/interface/lonexttool.pm 2017/12/07 16:06:04 1.10 +++ loncom/interface/lonexttool.pm 2017/12/18 16:11:18 1.11 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Launch External Tool Provider (LTI) # -# $Id: lonexttool.pm,v 1.10 2017/12/07 16:06:04 raeburn Exp $ +# $Id: lonexttool.pm,v 1.11 2017/12/18 16:11:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -67,7 +67,8 @@ sub handler { # Is this even in a course? unless ($env{'request.course.id'}) { if ($target ne 'tex') { - &Apache::loncommon::simple_error_page($r,'','Not in a course'); + &Apache::loncommon::simple_error_page($r,'','Not in a course', + {'only_body' => 1}); } else { $r->print('\textbf{Not in a course}\end{document}'); }