Skip to content

Commit

Permalink
fixed downloading folders containing whitespace (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Dec 13, 2010
1 parent e020064 commit 4690981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dl.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function removeDirectory($dir) {
$retcode = 0;
if (class_exists('Archive_Tar')) {
$tar = new Archive_Tar($tarArchive);
$created = $tar->create($archiveName);
$created = $tar->create(array($archiveName));
if (!$created) {
$retcode = 1;
header('HTTP/1.x 500 Internal Server Error', true, 500);
Expand Down

0 comments on commit 4690981

Please sign in to comment.