From 13d3221262c11da071882138709220fe460021df Mon Sep 17 00:00:00 2001 From: Keith Woodlock Date: Fri, 7 Dec 2012 20:56:52 +0000 Subject: [PATCH] fix small error. --- .../infrastructure/core/data/EntityIdentifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/EntityIdentifier.java b/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/EntityIdentifier.java index 0c30c396b..2635bee75 100644 --- a/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/EntityIdentifier.java +++ b/mifosng-provider/src/main/java/org/mifosplatform/infrastructure/core/data/EntityIdentifier.java @@ -56,7 +56,7 @@ public class EntityIdentifier { public Map getChanges() { Map checkIfEmpty = null; - if (!this.changes.isEmpty()) { + if (this.changes != null && !this.changes.isEmpty()) { checkIfEmpty = this.changes; } return checkIfEmpty;