Author: jacopoc
Date: Thu Jul 5 23:10:51 2007
New Revision: 553751
URL:
http://svn.apache.org/viewvc?view=rev&rev=553751Log:
Small fix
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/authorizeTransaction.bsh
Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/authorizeTransaction.bsh
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/authorizeTransaction.bsh?view=diff&rev=553751&r1=553750&r2=553751==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/authorizeTransaction.bsh (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/authorizeTransaction.bsh Thu Jul 5 23:10:51 2007
@@ -43,5 +43,5 @@
if(orderPaymentPreference != null){
paymentMethodType = orderPaymentPreference.getRelatedOneCache("PaymentMethodType");
context.put("paymentMethodType", paymentMethodType);
- context.put("overrideAmount", orderPaymentPreference.getDouble("maxAmount").doubleValue());
+ context.put("overrideAmount", orderPaymentPreference.getDouble("maxAmount"));
}