Skip to content

Commit 7832498

Browse files
committed
Fixed swapped value for REGEX/EQUAL
Credits go to Flavio Goncalves for reporting
1 parent cad07f8 commit 7832498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/tools/system/dialplan/template/dialplan.form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"pr", "n", $dp_form['pr'], 128, "^[0-9]+$");
3030

3131
form_generate_select("Matching operator", "What method will be used for matching",
32-
"match_op", 128, $dp_form['match_op'], array("0", "1"), array("REGEX", "EQUAL"));
32+
"match_op", 128, $dp_form['match_op'], array("1", "0"), array("REGEX", "EQUAL"));
3333

3434
form_generate_input_text("Matching Regular Expression", "Regular expresion used to match and select this rule",
3535
"match_exp", "n", $dp_form['match_exp'], 128, "^[^@]+$");

0 commit comments

Comments
 (0)