Fixed MyOrganization.isEmpty so it doesn't throw a ClassCastException
This commit is contained in:
parent
24b9a22ad3
commit
9004d38f58
|
@ -87,7 +87,7 @@ public class MyOrganization extends Organization {
|
|||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return ElementUtil.isEmpty(super.isEmpty(), myBillingCode, myEmergencyContact);
|
||||
return super.isEmpty() && ElementUtil.isEmpty(myBillingCode, myEmergencyContact);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue