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; } }