diff --git a/lib/filesystem.php b/lib/filesystem.php index f54cc6492e7..38326fe3f6a 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -233,7 +233,7 @@ class OC_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($mountPoint, $user); foreach($options as &$option) {