[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 15 May 2006 22:30:12 -0000


albertel		Mon May 15 18:30:12 2006 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  - throwing ISE when creating new html file
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.411 loncom/xml/lonxml.pm:1.412
--- loncom/xml/lonxml.pm:1.411	Wed Apr 19 22:58:14 2006
+++ loncom/xml/lonxml.pm	Mon May 15 18:30:10 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.411 2006/04/20 02:58:14 albertel Exp $
+# $Id: lonxml.pm,v 1.412 2006/05/15 22:30:10 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1419,7 +1419,7 @@
     my $filecontents=&Apache::lonnet::getfile($file);
     if ($filecontents eq -1) {
 	my $start_page=&Apache::loncommon::start_page('File Error');
-	my $end_page=&Apache::loncommon::end_page('File Error');
+	my $end_page=&Apache::loncommon::end_page();
 	my $fnf=&mt('File not found');
 	$result=(<<ENDNOTFOUND);
 $start_page