Aleksander Machniak
2014-02-16 a622451bc50c68f2c735ed4bd997a2101006e06c
plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
@@ -1642,13 +1642,14 @@
            $domain_select = new html_select(array('name' => "_action_target_domain[$id]", 'id' => 'action_target_domain'.$id));
            $domain_select->add(array_combine($domains, $domains));
            if ($action['type'] == 'redirect') {
            $parts = explode('@', $action['target']);
            if (!empty($parts)) {
                $action['domain'] = array_pop($parts);
                $action['target'] = implode('@', $parts);
            }
        }
        }
        // redirect target
        $out .= '<span id="redirect_target' . $id . '" style="white-space:nowrap;'