Fix variable for mounting for all users, fix #357

This commit is contained in:
Michael Gapczynski 2013-03-09 21:09:31 -05:00
parent dfbf57207d
commit 8a5946fadc
1 changed files with 1 additions and 1 deletions

View 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) {