Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #8516 PEAR_Config->get('preferred_mirror', null, 'non-pear.channel') returns pear
Submitted: 2006-08-19 16:52 UTC
From: cellog Assigned: cellog
Status: Closed Package: PEAR (version 1.4.11)
PHP Version: Irrelevant OS: n/a
Roadmaps: (Not assigned)    
Subscription  


 [2006-08-19 16:52 UTC] cellog (Greg Beaver)
Description: ------------ PEAR_Config request for preferred_mirror of a non-default channel returns the default channel rather than the non-default channel Test script: --------------- require_once 'PEAR/Config.php'; $conf = PEAR_Config::singleton(); // assume pear.chiaraquartet.net is discovered $conf->get('preferred_mirror', null, 'pear.chiaraquartet.net'); Expected result: ---------------- string(22) "pear.chiaraquartet.net" Actual result: -------------- string(12) "pear.php.net"

Comments

 [2006-09-22 02:56 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.