Fix typo in SMB_OC
This commit is contained in:
parent
0b97a05e7b
commit
e33d7b34fa
1 changed files with 2 additions and 2 deletions
|
@ -58,9 +58,9 @@ class SMB_OC extends Backend {
|
|||
}
|
||||
|
||||
public function manipulateStorageConfig(StorageConfig &$storage) {
|
||||
$username_as_share = ($storage->getBackendOption('username_as_share') === 'true');
|
||||
$username_as_share = ($storage->getBackendOption('username_as_share') === true);
|
||||
|
||||
if ($this->username_as_share) {
|
||||
if ($username_as_share) {
|
||||
$share = '/' . $storage->getBackendOption('user');
|
||||
$storage->setBackendOption('share', $share);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue