From: Greg Beaver Date: Mon, 17 Nov 2003 06:07:44 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.5RC1~197 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6541cb740706673ec71a5d5f23b28a400a5f950;p=php MFH --- diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php index 41d46d5541..1b7f5e4d74 100644 --- a/pear/PEAR/Installer.php +++ b/pear/PEAR/Installer.php @@ -803,7 +803,7 @@ class PEAR_Installer extends PEAR_Common if ($version == 0 && !isset($options['force'])) { return $this->raiseError('No release with state equal to: \'' . implode(', ', $states) . "' found for '$pkgfile'"); - } else { + } elseif ($version == 0) { $this->log(0, "Warning: $pkgfile is state '$inf[state]' which is less stable " . "than state '$state'"); }