Skip to content

Commit

Permalink
fix(core): handle null values in modules constraints of SQL sources
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Sep 13, 2021
1 parent 0765c72 commit f0368d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoObjects/SOGo/SQLSource.m
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ - (void) _fillConstraintsForModule: (NSString *) module
recordValue = [record objectForKey: currentMatch];
result = NO;

if ([recordValue caseInsensitiveMatches: currentValue])
if ([recordValue isNotNull] && [recordValue caseInsensitiveMatches: currentValue])
result = YES;
}
}
Expand Down

0 comments on commit f0368d0

Please sign in to comment.