--- loncom/interface/multidownload.pl 2007/05/13 18:00:32 1.26 +++ loncom/interface/multidownload.pl 2007/05/21 22:00:29 1.27 @@ -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 @@ if (&Apache::lonnet::allowed('vgr',$scop 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");