Changed compared variables of range id intervall in ruleRemoveById ctl action. #2111

* changed the variables in clause
* added test case (@theMiddle)
* fixes #2111
This commit is contained in:
Ervin Hegedus
2019-06-04 10:41:57 +00:00
committed by Felipe Zimmerle
parent 9ebebfc838
commit c0142cf326
3 changed files with 35 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ bool RuleRemoveById::init(std::string *error) {
return false;
}
if (n1s > n2s) {
if (n1n > n2n) {
error->assign("Invalid range: " + b);
return false;
}