From d6541cb740706673ec71a5d5f23b28a400a5f950 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Mon, 17 Nov 2003 06:07:44 +0000 Subject: [PATCH] MFH --- pear/PEAR/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'"); } -- 2.50.1