From e33d7b34fa14541b6d757e7cb2551870c939d15e Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Thu, 3 Sep 2015 09:39:14 +0100 Subject: Fix typo in SMB_OC --- apps/files_external/lib/backend/smb_oc.php | 4 ++-- 1 file 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); } -- cgit v1.2.3