From 012a907a8ac4044f6f9e6472deb8cb401a1b5f60 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 7 Nov 2012 14:05:45 +0100 Subject: [PATCH] fix user specific mount configuration --- lib/filesystem.php | 4 ++-- 1 file 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) {