From: Greg Beaver Date: Sat, 6 Dec 2003 05:35:52 +0000 (+0000) Subject: fix error message - was printing an empty preferred state X-Git-Tag: php-5.0.0b3RC1~266 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1770cc57f9802b8aff27d9beeaa7771586ef9b2;p=php fix error message - was printing an empty preferred state --- diff --git a/pear/PEAR/Downloader.php b/pear/PEAR/Downloader.php index c7e3c21af7..b5bbd012ef 100644 --- a/pear/PEAR/Downloader.php +++ b/pear/PEAR/Downloader.php @@ -468,7 +468,7 @@ class PEAR_Downloader extends PEAR_Common "' found for '$pkgfile'"); } elseif ($version == 0) { $this->log(0, "Warning: $pkgfile is state '$inf[state]' which is less stable " . - "than state '$state'"); + "than state '$this->_preferredState'"); } } // Check if we haven't already the version