diff options
Diffstat (limited to 'plugins/managesieve/lib')
-rw-r--r-- | plugins/managesieve/lib/rcube_sieve.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/managesieve/lib/rcube_sieve.php b/plugins/managesieve/lib/rcube_sieve.php index 3bb150e44..59f7cfcf4 100644 --- a/plugins/managesieve/lib/rcube_sieve.php +++ b/plugins/managesieve/lib/rcube_sieve.php @@ -117,7 +117,7 @@ class rcube_sieve $script = $this->_convert_from_squirrel_rules($script); - $this->script = new rcube_sieve_script($script); + $this->script = new rcube_sieve_script($script, $this->disabled); $this->save(); @@ -184,7 +184,7 @@ class rcube_sieve_script * @param string Script's text content * @param array Disabled extensions */ - public function __construct($script, $disabled) + public function __construct($script, $disabled=NULL) { if (!empty($disabled)) foreach ($disabled as $ext) |