From f0368d028b7ff20f9a793d81e71e36921b3368c7 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 13 Sep 2021 09:49:14 -0400 Subject: [PATCH] fix(core): handle null values in modules constraints of SQL sources --- SoObjects/SOGo/SQLSource.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/SOGo/SQLSource.m b/SoObjects/SOGo/SQLSource.m index 6feac9577..7a81b757a 100644 --- a/SoObjects/SOGo/SQLSource.m +++ b/SoObjects/SOGo/SQLSource.m @@ -420,7 +420,7 @@ recordValue = [record objectForKey: currentMatch]; result = NO; - if ([recordValue caseInsensitiveMatches: currentValue]) + if ([recordValue isNotNull] && [recordValue caseInsensitiveMatches: currentValue]) result = YES; } }