summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/smb_oc.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/smb_oc.php')
-rw-r--r--apps/files_external/lib/smb_oc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/smb_oc.php b/apps/files_external/lib/smb_oc.php
index 52b73c46ff9..547caa5ecbf 100644
--- a/apps/files_external/lib/smb_oc.php
+++ b/apps/files_external/lib/smb_oc.php
@@ -39,7 +39,7 @@ class SMB_OC extends SMB {
public function __construct($params) {
if (isset($params['host'])) {
$host = $params['host'];
- $this->username_as_share = ($params['username_as_share'] === 'true');
+ $this->username_as_share = ($params['username_as_share'] === true);
// dummy credentials, unused, to satisfy constructor
$user = 'foo';