Skip to content

Commit

Permalink
QA-13649 Break the loop, return empty properties set to prevent NPE (#30
Browse files Browse the repository at this point in the history
) (#31)
  • Loading branch information
AKarmanov authored Feb 2, 2022
1 parent 4be14ab commit d4b76cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ private Properties mapJahiaPropertiesToLDAP(Properties searchCriteria, Map<Strin
if (configProperties.containsKey(entry.getKey())) {
p.setProperty(configProperties.get(entry.getKey()), (String) entry.getValue());
} else if (!entry.getKey().equals("*") && !entry.getKey().equals(JahiaUserManagerService.MULTI_CRITERIA_SEARCH_OPERATION)) {
return null;
break;
}
}

Expand Down

0 comments on commit d4b76cf

Please sign in to comment.