diff --git a/library/Icinga/Application/Config.php b/library/Icinga/Application/Config.php index 251ed4fb6..de8fec6f4 100644 --- a/library/Icinga/Application/Config.php +++ b/library/Icinga/Application/Config.php @@ -475,9 +475,10 @@ class Config implements Countable, Iterator, Selectable if ($username) { $path = static::resolvePath(implode(DIRECTORY_SEPARATOR, array('preferences', $username, $filename))); if (realpath($path) === false) { - $path = static::resolvePath(implode(DIRECTORY_SEPARATOR, array( - 'preferences', strtolower($username), $filename - ))); + $path = static::resolvePath(implode( + DIRECTORY_SEPARATOR, + array('preferences', strtolower($username), $filename) + )); } } else { $path = static::resolvePath('navigation' . DIRECTORY_SEPARATOR . $filename);