Fixed MyOrganization.isEmpty so it doesn't throw a ClassCastException

This commit is contained in:
b.debeaubien 2015-02-26 08:36:10 -05:00
parent 24b9a22ad3
commit 9004d38f58
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**