diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-11-07 14:05:45 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-11-07 14:05:45 +0100 |
commit | 012a907a8ac4044f6f9e6472deb8cb401a1b5f60 (patch) | |
tree | 55bc5bf8ae8c4c3e534032ad59e4b233568aa54b /lib | |
parent | d42d88d39193e712e727101a6f5656084061593b (diff) | |
download | nextcloud-server-012a907a8ac4044f6f9e6472deb8cb401a1b5f60.tar.gz nextcloud-server-012a907a8ac4044f6f9e6472deb8cb401a1b5f60.zip |
fix user specific mount configuration
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filesystem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 4635f8b4f30..aa03593908d 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -232,8 +232,8 @@ class OC_Filesystem{ } if(isset($mountConfig['user'])) { - foreach($mountConfig['user'] as $user=>$mounts) { - if($user==='all' or strtolower($user)===strtolower($user)) { + foreach($mountConfig['user'] as $mountUser=>$mounts) { + if($user==='all' or strtolower($mountUser)===strtolower($user)) { foreach($mounts as $mountPoint=>$options) { $mountPoint=self::setUserVars($mountPoint, $user); foreach($options as &$option) { |