--- loncom/interface/londocs.pm 2017/12/29 16:01:33 1.649 +++ loncom/interface/londocs.pm 2018/04/24 11:17:58 1.654 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.649 2017/12/29 16:01:33 raeburn Exp $ +# $Id: londocs.pm,v 1.654 2018/04/24 11:17:58 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -46,6 +46,7 @@ use Apache::lonsimplepage(); use Apache::lonhomework(); use Apache::lonpublisher(); use Apache::lonparmset(); +use Apache::loncourserespicker(); use HTML::Entities; use HTML::TokeParser; use GDBM_File; @@ -4402,7 +4403,7 @@ $form_end; $reinit = &mt('(re-initialize course to access)'); } $line.='
'.&mt('Created [quant,_1,URL]',$numnew).'
'); + } + if ((ref($errors) eq 'ARRAY') && (@{$errors} > 0)) { + $r->print(&mt('The following errors occurred when processing your request to create shortened URLs:').'