Author: lektran
Date: Mon Jul  2 02:48:46 2007
New Revision: 552447

URL: http://svn.apache.org/viewvc?view=rev&rev=552447
Log:
Manually applied fix from trunk for revision: 543711

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

Modified: 
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java?view=diff&rev=552447&r1=552446&r2=552447
==============================================================================
--- 
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
 (original)
+++ 
ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
 Mon Jul  2 02:48:46 2007
@@ -1191,15 +1191,11 @@
                     // create any splits which are needed
                     if (authAmount.compareTo(amountThisCapture) == 1) {
                         BigDecimal splitAmount = 
authAmount.subtract(amountThisCapture);
-                        Map splitResp = null;
                         try {
                             Map splitCtx = UtilMisc.toMap("userLogin", 
userLogin, "orderPaymentPreference", paymentPref, "splitAmount", splitAmount);
                             
dispatcher.addCommitService("processCaptureSplitPayment", splitCtx, true);
                         } catch (GenericServiceException e) {
                             Debug.logWarning(e, "Problem processing the 
capture split payment", module);
-                        }
-                        if (ServiceUtil.isError(splitResp)) {
-                            Debug.logWarning("Problem processing the capture 
split payment: " + ServiceUtil.getErrorMessage(splitResp), module);
                         }
                     }
                 } else {


Reply via email to