From: Stig Bakken Date: Tue, 19 Nov 2002 02:18:30 +0000 (+0000) Subject: * allow config-get in the default layer X-Git-Tag: RELEASE_1_0b2~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfae20f404f73bddcb9a0e44e20fa1873e858c13;p=php * allow config-get in the default layer --- diff --git a/pear/PEAR/Command/Config.php b/pear/PEAR/Command/Config.php index b8f14511dd..85304fdcae 100644 --- a/pear/PEAR/Command/Config.php +++ b/pear/PEAR/Command/Config.php @@ -187,7 +187,7 @@ displays help for all configuration parameters. */ function _checkLayer($layer = null) { - if (!empty($layer)) { + if (!empty($layer) && $layer != 'default') { $layers = $this->config->getLayers(); if (!in_array($layer, $layers)) { return " only the layers: \"" . implode('" or "', $layers) . "\" are supported";