From 3b835ea1b6e6bfffa98ea10e4cb561b0fb31e5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 11 Sep 2013 01:11:57 +0200 Subject: [PATCH] never hack late night --- apps/files_external/lib/irods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_external/lib/irods.php b/apps/files_external/lib/irods.php index c6f002ffd2..b8191db2f2 100644 --- a/apps/files_external/lib/irods.php +++ b/apps/files_external/lib/irods.php @@ -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'] : '';