]> granicus.if.org Git - php/commitdiff
fix error message - was printing an empty preferred state
authorGreg Beaver <cellog@php.net>
Sat, 6 Dec 2003 05:35:52 +0000 (05:35 +0000)
committerGreg Beaver <cellog@php.net>
Sat, 6 Dec 2003 05:35:52 +0000 (05:35 +0000)
pear/PEAR/Downloader.php

index c7e3c21af7b2267dc08f755cc81d7bcc4ab885c3..b5bbd012efda47cacf51407bcb366d5b13ea3f0f 100644 (file)
@@ -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