[LON-CAPA-cvs] cvs: loncom /interface lonerrorhandler.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Tue, 07 Oct 2008 20:08:54 -0000


raeburn		Tue Oct  7 16:08:54 2008 EDT

  Modified files:              
    /loncom/interface	lonerrorhandler.pm 
  Log:
  - Prevent ISE.
  
  
Index: loncom/interface/lonerrorhandler.pm
diff -u loncom/interface/lonerrorhandler.pm:1.16 loncom/interface/lonerrorhandler.pm:1.17
--- loncom/interface/lonerrorhandler.pm:1.16	Fri Oct  3 20:09:18 2008
+++ loncom/interface/lonerrorhandler.pm	Tue Oct  7 16:08:54 2008
@@ -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.17 2008/10/07 20:08:54 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -43,7 +43,7 @@
     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'