diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php index 0bbd7550d74..d7cbb700321 100644 --- a/lib/files/filesystem.php +++ b/lib/files/filesystem.php @@ -249,7 +249,7 @@ class Filesystem { } if (isset($mountConfig['user'])) { foreach ($mountConfig['user'] as $mountUser => $mounts) { - if ($user === 'all' or strtolower($mountUser) === strtolower($user)) { + if ($mountUser === 'all' or strtolower($mountUser) === strtolower($user)) { foreach ($mounts as $mountPoint => $options) { $mountPoint = self::setUserVars($user, $mountPoint); foreach ($options as &$option) {