--- loncom/xml/lonxml.pm	2006/11/30 01:07:09	1.428
+++ loncom/xml/lonxml.pm	2006/11/30 08:53:35	1.429
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.428 2006/11/30 01:07:09 banghart Exp $
+# $Id: lonxml.pm,v 1.429 2006/11/30 08:53:35 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1422,8 +1422,8 @@ sub handler {
 #
     if (!($env{'request.state'} eq 'published')) {
 	if ($env{'form.savethisfile'} || $env{'form.viewmode'} || $env{'form.Undo'}) {
-	    my $problem=&Apache::lonnet::getfile($file);
-	    my $error = &Apache::lonhomework::handle_save_or_undo($request, \$problem, \$env{'form.filecont'});
+	    my $html_file=&Apache::lonnet::getfile($file);
+	    my $error = &Apache::lonhomework::handle_save_or_undo($request, \$html_file, \$env{'form.filecont'});
 	}
     }
     my %mystyle;