From dececbdb4cbbec447843a691d402b03e8c7d11a5 Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Tue, 5 Aug 2003 15:35:17 +0000 Subject: [PATCH] Other fix to ws in path names fix --- pear/PEAR/Common.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index 03bb5c54a0..81f88b6643 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -701,10 +701,7 @@ class PEAR_Common extends PEAR } $tmpdir = System::mkTemp('-d pear'); $this->addTempFile($tmpdir); - if (!is_array($xml)) { - $xml = array($xml); - } - if (!$xml || !$tar->extractList($xml, $tmpdir)) { + if (!$xml || !$tar->extractList(array($xml), $tmpdir)) { return $this->raiseError('could not extract the package.xml file'); } return $this->infoFromDescriptionFile("$tmpdir/$xml"); -- 2.40.0