svn commit: r611678 - /ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/GiftCertificateServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r611678 - /ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/GiftCertificateServices.java

jleroux@apache.org
Author: jleroux
Date: Sun Jan 13 15:36:13 2008
New Revision: 611678

URL: http://svn.apache.org/viewvc?rev=611678&view=rev
Log:
Applied fix from trunk for revision: 590034

Modified:
    ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/GiftCertificateServices.java

Modified: ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/GiftCertificateServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/GiftCertificateServices.java?rev=611678&r1=611677&r2=611678&view=diff
==============================================================================
--- ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/GiftCertificateServices.java (original)
+++ ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/GiftCertificateServices.java Sun Jan 13 15:36:13 2008
@@ -111,7 +111,7 @@
             } else {
                 acctResult = dispatcher.runSync("createFinAccountForStore", UtilMisc.toMap("productStoreId", productStoreId, "finAccountTypeId", FinAccountHelper.giftCertFinAccountTypeId, "userLogin", userLogin));  
                 if (acctResult.get("finAccountId") != null) {
-                    cardNumber = (String) acctResult.get("finAccountId");
+                    finAccountId = cardNumber = (String) acctResult.get("finAccountId");
                 }
                 if (acctResult.get("finAccountCode") != null) {
                     cardNumber = (String) acctResult.get("finAccountCode");