Aleksander Machniak
2016-02-05 bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326
plugins/managesieve/managesieve.php
@@ -84,10 +84,10 @@
        // include styles
        $skin_path = $this->local_skin_path();
        if ($this->rc->task == 'settings' || $sieve_action) {
        if ($sieve_action || ($this->rc->task == 'settings' && empty($_REQUEST['_framed']))) {
            $this->include_stylesheet("$skin_path/managesieve.css");
        }
        else {
        else if ($this->rc->task == 'mail') {
            $this->include_stylesheet("$skin_path/managesieve_mail.css");
        }
@@ -239,7 +239,7 @@
            $include_path .= ini_get('include_path');
            set_include_path($include_path);
            $class_name = 'rcube_sieve_' . ($type ? $type : 'engine');
            $class_name = 'rcube_sieve_' . ($type ?: 'engine');
            $this->engine = new $class_name($this);
        }