From: Pierre Joye Date: Tue, 9 Dec 2003 20:54:58 +0000 (+0000) Subject: - MFB (fix pecl install) X-Git-Tag: php-5.0.0b3RC1~163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85ce95847f99c03c22816b920a373ebc48e3ab1b;p=php - MFB (fix pecl install) --- diff --git a/pear/PEAR/Downloader.php b/pear/PEAR/Downloader.php index 07eff0c073..14a26a4a01 100644 --- a/pear/PEAR/Downloader.php +++ b/pear/PEAR/Downloader.php @@ -425,7 +425,7 @@ class PEAR_Downloader extends PEAR_Common if (in_array($pkgfile, $this->_toDownload)) { return false; } - $releases = $this->_remote->call('package.info', $pkgfile, 'releases'); + $releases = $this->_remote->call('package.info', $pkgfile, 'releases', true); if (!count($releases)) { return $this->raiseError("No releases found for package '$pkgfile'"); } @@ -508,7 +508,7 @@ class PEAR_Downloader extends PEAR_Common return false; } // {{{ get releases - $releases = $this->_remote->call('package.info', $info['name'], 'releases'); + $releases = $this->_remote->call('package.info', $info['name'], 'releases', true); if (PEAR::isError($releases)) { return $releases; }