--- loncom/interface/lonsyllabus.pm 2019/07/27 19:05:10 1.138.2.4 +++ loncom/interface/lonsyllabus.pm 2018/12/27 20:10:31 1.145 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.138.2.4 2019/07/27 19:05:10 raeburn Exp $ +# $Id: lonsyllabus.pm,v 1.145 2018/12/27 20:10:31 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -178,7 +178,7 @@ sub handler { &Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1); } $r->print(&Apache::lonwrapper::wrapper($item,$brcrum,$env{'request.use_absolute'}, - undef,$is_pdf,&mt('Syllabus'))); + undef,$is_pdf,undef,&mt('Syllabus'))); } } return OK; @@ -205,7 +205,7 @@ sub handler { &Apache::lonhtmlcommon::docs_breadcrumbs(undef,$crstype,undef,$title,1); } $r->print(&Apache::lonwrapper::wrapper($external,$brcrum,$env{'request.use_absolute'}, - $is_ext,$is_pdf,&mt('Syllabus'))); + $is_ext,$is_pdf,undef,&mt('Syllabus'))); } return OK; } @@ -1315,8 +1315,8 @@ sub save_changes { &mt('An error occurred storing the external URL: [_1]',$putres). ''; } - $is_ext = $external; } + $is_ext = $external; } else { $output = '
'. &mt('External URL not saved -- invalid URL.').