Fixed new checkstyle issues from build #1341.

remotes/origin/stable5
Diederik de Haas 13 years ago
parent 7ec0efe5c2
commit 051635412d
  1. 4
      apps/files_external/lib/webdav.php

@ -27,8 +27,8 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
$this->host=$host;
$this->user=$params['user'];
$this->password=$params['password'];
if(isset($params['secure'])){
if(is_string($params['secure'])){
if(isset($params['secure'])) {
if(is_string($params['secure'])) {
$this->secure = ($params['secure'] === 'true');
}else{
$this->secure = (bool)$params['secure'];

Loading…
Cancel
Save