Aleksander Machniak
2013-09-20 889c76cbdc05992b060ded9984690285588e285b
plugins/managesieve/lib/Roundcube/rcube_sieve_script.php
@@ -939,22 +939,21 @@
            return;
        }
        // relational operator + comparator
        // relational operator
        if (preg_match('/^(value|count)-([gteqnl]{2})/', $test['type'], $m)) {
            array_push($exts, 'relational');
            array_push($exts, 'comparator-i;ascii-numeric');
            $out .= ' :' . $m[1] . ' "' . $m[2] . '" :comparator "i;ascii-numeric"';
            $out .= ' :' . $m[1] . ' "' . $m[2];
        }
        else {
            $this->add_comparator($test, $out, $exts);
            if ($test['type'] == 'regex') {
                array_push($exts, 'regex');
            }
            $out .= ' :' . $test['type'];
        }
        $this->add_comparator($test, $out, $exts);
    }
    /**