summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-03 09:39:14 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-09-03 09:57:18 +0100
commite33d7b34fa14541b6d757e7cb2551870c939d15e (patch)
tree477333912ecc0325e2762f2bc4a00723f4bcd40b /apps/files_external
parent0b97a05e7bd631d66de1c2aee115113ada8a5f63 (diff)
downloadnextcloud-server-e33d7b34fa14541b6d757e7cb2551870c939d15e.tar.gz
nextcloud-server-e33d7b34fa14541b6d757e7cb2551870c939d15e.zip
Fix typo in SMB_OC
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/backend/smb_oc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/backend/smb_oc.php b/apps/files_external/lib/backend/smb_oc.php
index 67fa8ffb2c4..3621682fb8f 100644
--- a/apps/files_external/lib/backend/smb_oc.php
+++ b/apps/files_external/lib/backend/smb_oc.php
@@ -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);
}