BUGFIX TarballArchive::extractTo() uses an incorrectly spelled argument

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@111126 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-09-22 05:26:06 +00:00 committed by Sam Minnee
parent 451fa7664b
commit 380fc69d6d

View File

@ -75,7 +75,7 @@ class TarballArchive extends Archive {
return $listing; return $listing;
} }
function extractTo($destination, $entires = null) { function extractTo($destination, $entries = null) {
if(!isset($entries)) { if(!isset($entries)) {
$command = "tar -xv{$this->compressionModifiers}f ../$this->filename --directory $destination"; $command = "tar -xv{$this->compressionModifiers}f ../$this->filename --directory $destination";
$output = `$command`; $output = `$command`;