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

www lon-capa-cvs@mail.lon-capa.org
Fri, 18 Apr 2003 15:24:53 -0000


www		Fri Apr 18 11:24:53 2003 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  This was emitting double http-headers.
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.86 loncom/interface/lonparmset.pm:1.87
--- loncom/interface/lonparmset.pm:1.86	Fri Apr  4 15:38:36 2003
+++ loncom/interface/lonparmset.pm	Fri Apr 18 11:24:53 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.86 2003/04/04 20:38:36 bowersj2 Exp $
+# $Id: lonparmset.pm,v 1.87 2003/04/18 15:24:53 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -285,8 +285,6 @@
 
 sub startpage {
     my ($r,$id,$udom,$csec,$uname)=@_;
-    $r->content_type('text/html');
-    $r->send_http_header;
  
     my $bodytag=&Apache::loncommon::bodytag('Set Course Parameters','',
                                             'onUnload="pclose()"');
@@ -1583,7 +1581,6 @@
 
     $r->content_type('text/html');
     $r->send_http_header;
-    $r->print("\n\n");
 
 # ----------------------------------------------------- Needs to be in a course