From 4b36019b98503b3ab4fc5617f252932a2471860f Mon Sep 17 00:00:00 2001 From: goutham-M Date: Wed, 1 Jan 2014 13:11:23 +0530 Subject: [PATCH] MIFOSX-910 not proper err msg displaying fixed --- .../accounting/journalentry/command/JournalEntryCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mifosng-provider/src/main/java/org/mifosplatform/accounting/journalentry/command/JournalEntryCommand.java b/mifosng-provider/src/main/java/org/mifosplatform/accounting/journalentry/command/JournalEntryCommand.java index c35b4aaff..df1589840 100755 --- a/mifosng-provider/src/main/java/org/mifosplatform/accounting/journalentry/command/JournalEntryCommand.java +++ b/mifosng-provider/src/main/java/org/mifosplatform/accounting/journalentry/command/JournalEntryCommand.java @@ -100,7 +100,7 @@ public class JournalEntryCommand { // validation for debit array elements if (this.debits != null) { if (this.debits.length == 0) { - validateSingleDebitOrCredit(baseDataValidator, "credits", 0, new SingleDebitOrCreditEntryCommand(null, null, null, null)); + validateSingleDebitOrCredit(baseDataValidator, "debits", 0, new SingleDebitOrCreditEntryCommand(null, null, null, null)); } else { int i = 0; for (final SingleDebitOrCreditEntryCommand debit : this.debits) {