From: Greg Beaver Date: Mon, 1 Dec 2003 00:59:14 +0000 (+0000) Subject: 2 bugs found X-Git-Tag: php-5.0.0b3RC1~462 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b95c31c77d06735f2bf3b78bedfc705ab71c02c;p=php 2 bugs found --- diff --git a/pear/PEAR/Downloader.php b/pear/PEAR/Downloader.php index 2b3dec4e58..e7be9624fd 100644 --- a/pear/PEAR/Downloader.php +++ b/pear/PEAR/Downloader.php @@ -521,12 +521,12 @@ class PEAR_Downloader extends PEAR_Common $savestate = array_shift($get); $this->pushError( "Release for $package dependency $info[name] " . "has state '$savestate', requires $state"); - continue; + return false; } if (in_array(strtolower($info['name']), $this->_toDownload) || isset($mywillinstall[strtolower($info['name'])])) { // skip upgrade check for packages we will install - continue; + return false; } if (!isset($this->_installed[strtolower($info['name'])])) { // check to see if we can install the specific version required