]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix variable for mounting for all users, fix #357
authorMichael Gapczynski <mtgap@owncloud.com>
Sun, 10 Mar 2013 02:09:31 +0000 (21:09 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sun, 10 Mar 2013 02:09:31 +0000 (21:09 -0500)
lib/files/filesystem.php

index 0bbd7550d74dce4638cc3f5e74f559f59f680513..d7cbb700321fe24cbcec33ee760c179de6df12f4 100644 (file)
@@ -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) {