Fixed new checkstyle issues from build #1341.

This commit is contained in:
Diederik de Haas 2012-11-10 00:40:32 +01:00
parent 7ec0efe5c2
commit 051635412d
1 changed files with 2 additions and 2 deletions

View File

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