Author: jleroux
Date: Thu Dec 13 11:57:11 2007
New Revision: 604008
URL: http://svn.apache.org/viewvc?rev=604008&view=rev
Log:
Applied fix from trunk for revision: 602997
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?rev=604008&r1=604007&r2=604008&view=diff
==============================================================================
---
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
Thu Dec 13 11:57:11 2007
@@ -649,7 +649,6 @@
try {
// get the valid payment prefs
List othExpr = UtilMisc.toList(new
EntityExpr("paymentMethodTypeId", EntityOperator.EQUALS, "EFT_ACCOUNT"));
- othExpr.add(new EntityExpr("paymentMethodTypeId",
EntityOperator.EQUALS, "CREDIT_CARD"));
othExpr.add(new EntityExpr("paymentMethodTypeId",
EntityOperator.EQUALS, "GIFT_CARD"));
othExpr.add(new EntityExpr("paymentMethodTypeId",
EntityOperator.EQUALS, "FIN_ACCOUNT"));
EntityCondition con1 = new EntityConditionList(othExpr,
EntityJoinOperator.OR);