]> granicus.if.org Git - php/commitdiff
Fix the fix (Greg)
authorTomas V.V.Cox <cox@php.net>
Tue, 5 Aug 2003 12:28:57 +0000 (12:28 +0000)
committerTomas V.V.Cox <cox@php.net>
Tue, 5 Aug 2003 12:28:57 +0000 (12:28 +0000)
pear/PEAR/Installer.php

index 6f6deadf65764aab6bc45494209fe113e72fc122..9f95e25aa6794d05c034707c0ec370cc4d0618bd 100644 (file)
@@ -552,7 +552,7 @@ class PEAR_Installer extends PEAR_Common
             $this->log(2, '+ tmp dir created at ' . $tmpdir);
 
             $tar = new Archive_Tar($pkgfile);
-            if (!@$tar->extract(array($tmpdir))) {
+            if (!@$tar->extract($tmpdir)) {
                 return $this->raiseError("unable to unpack $pkgfile");
             }