Aleksander Machniak
2015-01-14 6af79f1517d4a5c34088eaf6d0e5af69733f3eef
plugins/managesieve/lib/Roundcube/rcube_sieve_script.php
@@ -622,6 +622,7 @@
        $disabled = false;
        $join     = false;
        $join_not = false;
        // disabled rule (false + comment): if false # .....
        if (preg_match('/^\s*false\s+#/i', $content)) {
@@ -650,10 +651,17 @@
                $not = false;
            }
            // we support "not allof" as a negation of allof sub-tests
            if ($join_not) {
                $not = !$not;
            }
            switch ($token) {
            case 'allof':
                $join = true;
                $join_not = $not;
                break;
            case 'anyof':
                break;