Commit a898bbe7 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5672 Fixed error and typos in class_sieve.inc

parent 0f2c683c
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -217,7 +217,7 @@ class sieve ...@@ -217,7 +217,7 @@ class sieve
$this->tmpfile=""; $this->tmpfile="";
$this->fh=0; $this->fh=0;
$this->len=0; $this->len=0;
$this->capabilities=""; $this->capabilities=array();
$this->loggedin=false; $this->loggedin=false;
$this->error= ""; $this->error= "";
$this->error_raw=""; $this->error_raw="";
...@@ -325,7 +325,7 @@ class sieve ...@@ -325,7 +325,7 @@ class sieve
$this->capabilities[$this->cap_type][$this->module]=true; $this->capabilities[$this->cap_type][$this->module]=true;
} /* end if */ } /* end if */
elseif(is_string($this->modules)) elseif(is_string($this->modules))
$this->capabilites[$this->cap_type][$this->modules]=true; $this->capabilities[$this->cap_type][$this->modules]=true;
} }
else{ else{
$this->capabilities["unknown"][]=$this->line; $this->capabilities["unknown"][]=$this->line;
...@@ -357,7 +357,7 @@ class sieve ...@@ -357,7 +357,7 @@ class sieve
$this->capabilities[$this->cap_type][$this->module]=true; $this->capabilities[$this->cap_type][$this->module]=true;
} /* end if */ } /* end if */
elseif(is_string($this->modules)) elseif(is_string($this->modules))
$this->capabilites[$this->cap_type][$this->module]=true; $this->capabilities[$this->cap_type][$this->module]=true;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment