1
0
Fork 0

Merge remote-tracking branch 'alcohol/weird-config-listing-issue'

pull/4467/head
Jordi Boggiano 2015-09-30 11:52:04 +01:00
commit 5ccaad92c1
1 changed files with 1 additions and 7 deletions

View File

@ -475,13 +475,7 @@ EOT
if (is_array($value) && (!is_numeric(key($value)) || ($key === 'repositories' && null === $k))) { if (is_array($value) && (!is_numeric(key($value)) || ($key === 'repositories' && null === $k))) {
$k .= preg_replace('{^config\.}', '', $key . '.'); $k .= preg_replace('{^config\.}', '', $key . '.');
$this->listConfiguration($value, $rawVal, $output, $k); $this->listConfiguration($value, $rawVal, $output, $k);
if (substr_count($k, '.') > 1) {
$k = str_split($k, strrpos($k, '.', -2));
$k = $k[0] . '.';
} else {
$k = $origK; $k = $origK;
}
continue; continue;
} }