Author: jacopoc
Date: Wed Aug 15 00:58:49 2007
New Revision: 566047
URL:
http://svn.apache.org/viewvc?view=rev&rev=566047Log:
Fixed (odd) error I did in the product id resolution routine for imported orders from eBay.
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/order/ImportOrdersFromEbay.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/ImportOrdersFromEbay.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/ImportOrdersFromEbay.java?view=diff&rev=566047&r1=566046&r2=566047==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/ImportOrdersFromEbay.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/ImportOrdersFromEbay.java Wed Aug 15 00:58:49 2007
@@ -1325,7 +1325,7 @@
if (title != null && title.indexOf(' ') != -1) {
titleFirstWord = title.substring(0, title.indexOf(' '));
}
- if (UtilValidate.isEmpty(titleFirstWord)) {
+ if (UtilValidate.isNotEmpty(titleFirstWord)) {
GenericValue product = delegator.findByPrimaryKey("Product", UtilMisc.toMap("productId", titleFirstWord));
if (UtilValidate.isNotEmpty(product)) {
productId = product.getString("productId");