From 50b04366ee7472272e2576d17c609e1d26345221 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Thu, 19 Feb 2015 04:25:38 -0500 Subject: [PATCH] Merge branch 'master' of github.com:roundcube/roundcubemail --- plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php index d412e17..69ae4b8 100644 --- a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php +++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php @@ -2344,12 +2344,12 @@ */ protected function init_script() { - $this->script = $this->sieve->script->as_array(); - - if (!$this->script) { + if (!$this->sieve->script) { return; } + $this->script = $this->sieve->script->as_array(); + $headers = array(); $exceptions = array('date', 'currentdate', 'size', 'body'); -- Gitblit v1.9.1