[LON-CAPA-cvs] cvs: loncom /interface multidownload.pl

banghart lon-capa-cvs-allow@mail.lon-capa.org
Mon, 21 May 2007 22:00:32 -0000


banghart		Mon May 21 18:00:32 2007 EDT

  Modified files:              
    /loncom/interface	multidownload.pl 
  Log:
  	Style.
  
  
Index: loncom/interface/multidownload.pl
diff -u loncom/interface/multidownload.pl:1.26 loncom/interface/multidownload.pl:1.27
--- loncom/interface/multidownload.pl:1.26	Sun May 13 14:00:32 2007
+++ loncom/interface/multidownload.pl	Mon May 21 18:00:29 2007
@@ -2,7 +2,7 @@
 # CGI-script to allow download of all essay submissions of 
 # multiple students.
 #
-# $Id: multidownload.pl,v 1.26 2007/05/13 18:00:32 banghart Exp $
+# $Id: multidownload.pl,v 1.27 2007/05/21 22:00:29 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -115,7 +115,7 @@
     my $udom = $env{'user.domain'};
     my $unique_user = $uname.":".$udom;
     &mkpath($doc_zip_root."/zipdir/$unique_user/$unique_path",0,0700);
-    if (!open MANIFEST, ">$doc_zip_root/zipdir/$unique_user/$unique_path/manifest.txt") {
+    if (!open(MANIFEST, ">$doc_zip_root/zipdir/$unique_user/$unique_path/manifest.txt")) {
         &Apache::lonnet::logthis("Problem making manifest");
     }
     print MANIFEST &mt("Files contained in this zip:\n");