diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-09 21:09:31 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-03-09 21:09:31 -0500 |
commit | 8a5946fadc12b7327263eb1ec6bdb70a9718dd3e (patch) | |
tree | 5e43f605096f4aeb9f3d311ea71d22c2641364e8 /lib | |
parent | dfbf57207d2d47a843b514728b7254e76930b20c (diff) | |
download | nextcloud-server-8a5946fadc12b7327263eb1ec6bdb70a9718dd3e.tar.gz nextcloud-server-8a5946fadc12b7327263eb1ec6bdb70a9718dd3e.zip |
Fix variable for mounting for all users, fix #357
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files/filesystem.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |