cvs: pear-core /PEAR Config.php
| From: | Greg Beaver | Date: | Mon, 23 May 2005 04:38:08 +0000 |
| Subject: | cvs: pear-core /PEAR Config.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-32041@lists.php.net to get a copy of this message | ||
cellog Mon May 23 00:38:08 2005 EDT
Modified files:
/pear-core/PEAR Config.php
Log:
crucial break; - we need the first configuration item, not the last
http://cvs.php.net/diff.php/pear-core/PEAR/Config.php?r1=1.110&r2=1.111&ty=u
Index: pear-core/PEAR/Config.php
diff -u pear-core/PEAR/Config.php:1.110 pear-core/PEAR/Config.php:1.111
--- pear-core/PEAR/Config.php:1.110 Mon May 23 00:06:51 2005
+++ pear-core/PEAR/Config.php Mon May 23 00:38:08 2005
@@ -16,7 +16,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Config.php,v 1.110 2005/05/23 04:06:51 cellog Exp $
+ * @version CVS: $Id: Config.php,v 1.111 2005/05/23 04:38:08 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -1207,6 +1207,7 @@
foreach ($this->layers as $ilayer) {
if
(isset($this->configuration[$ilayer]['__channels'][$channel][$key])) {
$ret =
$this->configuration[$ilayer]['__channels'][$channel][$key];
+ break;
}
}
} elseif (isset($this->configuration[$layer]['__channels'][$channel][$key])) {