Author: sichen
Date: Tue Sep 25 10:25:40 2007
New Revision: 579326
URL:
http://svn.apache.org/viewvc?rev=579326&view=revLog:
better null handling
Modified:
ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
Modified: ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java?rev=579326&r1=579325&r2=579326&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java (original)
+++ ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java Tue Sep 25 10:25:40 2007
@@ -1284,7 +1284,7 @@
GenericValue productStore = orh.getProductStore();
// If shipping charges are not prorated, the shipments need to be examined for additional shipping charges
- if (productStore.getString("prorateShipping").equals("N")) {
+ if ("N".equalsIgnoreCase(productStore.getString("prorateShipping"))) {
// Get the set of filtered shipments
List invoiceableShipments = null;