From 8f1db90bb22259c3d23048a0f4ef8f557d524a69 Mon Sep 17 00:00:00 2001 From: flashk Date: Wed, 26 Dec 2007 18:34:08 +0000 Subject: fixed error when downloading files in memory mode --- lib/batch.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/batch.lib.php b/lib/batch.lib.php index ce2cea1f..a4120110 100644 --- a/lib/batch.lib.php +++ b/lib/batch.lib.php @@ -63,6 +63,8 @@ function send_zip( $name, $song_files ) { $basedir = Config::get('file_zip_path'); } + } else { + $in_memory = '1'; } // if file downloads /* Require needed library */ -- cgit