--- loncom/interface/lonerrorhandler.pm 2008/10/04 00:09:18 1.16 +++ loncom/interface/lonerrorhandler.pm 2008/11/18 19:14:22 1.19 @@ -1,7 +1,7 @@ # The LearningOnline Network # Internal Server Error Handler # -# $Id: lonerrorhandler.pm,v 1.16 2008/10/04 00:09:18 raeburn Exp $ +# $Id: lonerrorhandler.pm,v 1.19 2008/11/18 19:14:22 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -26,6 +26,25 @@ # http://www.lon-capa.org/ # +=pod + +=head1 NAME + +Apache::lonerrorhandler.pm + +=head1 SYNOPSIS + +Handles errors. + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=head1 OVERVIEW + +None + +=cut + package Apache::lonerrorhandler; use strict; @@ -43,7 +62,7 @@ sub handler { return OK if $r->header_only; &Apache::lonacc::get_posted_cgi($r); - if (!$lh) { + if (!$Apache::lonlocal::lh) { &Apache::lonlocal::get_language_handle($r); } my $title = $env{'form.sendinfo'} ? 'Sending Error Report' @@ -142,7 +161,7 @@ ENDMESSAGE

- +

'.&mt('Thank you for your help!').'