diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php index 40fef674a0..d32e082ade 100644 --- a/lib/files/filesystem.php +++ b/lib/files/filesystem.php @@ -254,7 +254,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) {