diff --git a/fineract-core/src/main/java/org/apache/fineract/portfolio/client/domain/ClientIdentifier.java b/fineract-core/src/main/java/org/apache/fineract/portfolio/client/domain/ClientIdentifier.java index 3c4beaadce..a42810a8b5 100644 --- a/fineract-core/src/main/java/org/apache/fineract/portfolio/client/domain/ClientIdentifier.java +++ b/fineract-core/src/main/java/org/apache/fineract/portfolio/client/domain/ClientIdentifier.java @@ -112,8 +112,8 @@ public Map update(final JsonCommand command) { final String statusParamName = "status"; if (command.isChangeInStringParameterNamed(statusParamName, ClientIdentifierStatus.fromInt(this.status).getCode())) { - final String newValue = command.stringValueOfParameterNamed(descriptionParamName); - actualChanges.put(descriptionParamName, ClientIdentifierStatus.valueOf(newValue)); + final String newValue = command.stringValueOfParameterNamed(statusParamName); + actualChanges.put(statusParamName, ClientIdentifierStatus.valueOf(newValue)); this.status = ClientIdentifierStatus.valueOf(newValue).getValue(); }