Fix variable for mounting for all users, fix #357
This commit is contained in:
parent
dfbf57207d
commit
8a5946fadc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue