Minor fix for visibility Rules Service
This commit is contained in:
parent
1e572b3214
commit
5ea8b9b964
|
@ -51,7 +51,10 @@ public class VisibilityRuleServiceImpl implements VisibilityRuleService {
|
|||
if (values instanceof List) {
|
||||
return ((Collection<?>) values).contains(source);
|
||||
} else {
|
||||
if (values != null) {
|
||||
return values.equals(source);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue