]> granicus.if.org Git - php/commitdiff
2 bugs found
authorGreg Beaver <cellog@php.net>
Mon, 1 Dec 2003 00:59:14 +0000 (00:59 +0000)
committerGreg Beaver <cellog@php.net>
Mon, 1 Dec 2003 00:59:14 +0000 (00:59 +0000)
pear/PEAR/Downloader.php

index 2b3dec4e58d7dfdb2412d81a3d825262604bec4c..e7be9624fdc3f170b81d5ccf57556ef7735242e2 100644 (file)
@@ -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