summaryrefslogtreecommitdiff
path: root/pear/PEAR/Command/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/PEAR/Command/Config.php')
-rw-r--r--pear/PEAR/Command/Config.php2
1 files changed, 1 insertions, 1 deletions
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";