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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 13 Jan 2006 10:33:25 -0000


albertel		Fri Jan 13 05:33:25 2006 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  - make rawmode actually work
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.394 loncom/xml/lonxml.pm:1.395
--- loncom/xml/lonxml.pm:1.394	Tue Dec 20 15:32:55 2005
+++ loncom/xml/lonxml.pm	Fri Jan 13 05:33:25 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.394 2005/12/20 20:32:55 albertel Exp $
+# $Id: lonxml.pm,v 1.395 2006/01/13 10:33:25 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1437,7 +1437,7 @@
 	    undef($Apache::lonhomework::parsing_a_task);
 	    &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},
 						    ['rawmode']);
-	    if ($env{'rawmode'}) { $result = $filecontents; }
+	    if ($env{'form.rawmode'}) { $result = $filecontents; }
 	}
     }