Skip to content
This repository was archived by the owner on Nov 12, 2017. It is now read-only.

Commit 7732e75

Browse files
committed
correct inverted condition
1 parent 7142208 commit 7732e75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sieverules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@ private function _rule_row($ext, $rules_table, $rule, $predefined_rules, $attrib
19481948

19491949
// comparator select box
19501950
$field_id = 'rcmfd_comparator_'. $rowid;
1951-
$select_comparator = new html_select(array('id' => $field_id, 'name' => "_comparator[]") + (substr($defaults['op'], 0, 5) == 'count' || substr($defaults['op'], 0, 5) == 'value' ? array('disabled' => 'disabled') : array()));
1951+
$select_comparator = new html_select(array('id' => $field_id, 'name' => "_comparator[]") + (substr($defaults['op'], 0, 5) == 'count' || substr($defaults['op'], 0, 5) == 'value' ? array() : array('disabled' => 'disabled')));
19521952
foreach($this->comparators as $option) {
19531953
if (empty($option['ext']) || in_array($option['ext'], $ext))
19541954
$select_comparator->add($this->gettext($option['text']), $option['value']);

0 commit comments

Comments
 (0)