Skip to content

Commit 354bd3e

Browse files
Merge pull request #1 from ahmetbardiz/ahmetbardiz-patch-1
Update ValidationGroup.java
2 parents 1573f99 + 40c27f7 commit 354bd3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/jquerybuilder/validation/ValidationGroup.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public boolean execute(Map data) {
5757
}
5858
for (ValidationGroup validationGroup : validationGroups) {
5959
boolean ruleResult = validationGroup.execute(data);
60+
if (result == null) {
61+
result = ruleResult;
6062
if (Condition.AND.equals(condition)) {
6163
result &= ruleResult;
6264
} else {

0 commit comments

Comments
 (0)