Skip to content

Commit

Permalink
[SHIBUI-999]
Browse files Browse the repository at this point in the history
cleanup
  • Loading branch information
jj committed Nov 14, 2018
1 parent c54b551 commit f849c91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public List<Attribute> getAttributeListFromRelyingPartyOverridesRepresentation(M
case BOOLEAN:
if (overrideProperty.getPersistType() != null &&
!overrideProperty.getPersistType().equalsIgnoreCase("boolean") &&
Boolean.valueOf((String)entry.getValue())) {
((entry.getValue() instanceof Boolean && (Boolean)entry.getValue()) || Boolean.valueOf((String)entry.getValue()))) {
list.add(attributeUtility.createAttributeWithStringValues(overrideProperty.getAttributeName(),
overrideProperty.getAttributeFriendlyName(),
overrideProperty.getPersistValue()));
Expand Down

0 comments on commit f849c91

Please sign in to comment.