From bfae20f404f73bddcb9a0e44e20fa1873e858c13 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Tue, 19 Nov 2002 02:18:30 +0000 Subject: [PATCH] * allow config-get in the default layer --- pear/PEAR/Command/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.40.0