]> source.dussan.org Git - nextcloud-server.git/commitdiff
never hack late night
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 10 Sep 2013 23:11:57 +0000 (01:11 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 10 Sep 2013 23:11:57 +0000 (01:11 +0200)
apps/files_external/lib/irods.php

index c6f002ffd22ea2d26ba2c31c36660c6f37e61e2f..b8191db2f2e0eca4f0bc917dcda5d1b9e39948a5 100644 (file)
@@ -32,7 +32,7 @@ class iRODS extends \OC\Files\Storage\StreamWrapper{
                        $this->port = isset($params['port']) ? $params['port'] : 1247;
                        $this->user = isset($params['user']) ? $params['user'] : '';
                        $this->password = isset($params['password']) ? $params['password'] : '';
-                       $this->use_logon_credentials = $params['use_logon_credentials'] === 'true' ? true : false;
+                       $this->use_logon_credentials = ($params['use_logon_credentials'] === 'true');
                        $this->zone = $params['zone'];
                        $this->auth_mode = isset($params['auth_mode']) ? $params['auth_mode'] : '';