summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorflashk <flashk@ampache>2007-12-26 18:34:08 +0000
committerflashk <flashk@ampache>2007-12-26 18:34:08 +0000
commit8f1db90bb22259c3d23048a0f4ef8f557d524a69 (patch)
tree3fdd23f184b4861b632ba2c10e3c9f04928dc550 /lib
parent983983592734af9054e4e5fc26665bd5a0d7d264 (diff)
downloadampache-8f1db90bb22259c3d23048a0f4ef8f557d524a69.tar.gz
ampache-8f1db90bb22259c3d23048a0f4ef8f557d524a69.tar.bz2
ampache-8f1db90bb22259c3d23048a0f4ef8f557d524a69.zip
fixed error when downloading files in memory mode
Diffstat (limited to 'lib')
-rw-r--r--lib/batch.lib.php2
1 files changed, 2 insertions, 0 deletions
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 */