Author: jleroux
Date: Fri Apr 24 22:01:27 2009
New Revision: 768425
URL:
http://svn.apache.org/viewvc?rev=768425&view=revLog:
Typo reported on dev ML
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java
Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java?rev=768425&r1=768424&r2=768425&view=diff==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java Fri Apr 24 22:01:27 2009
@@ -818,9 +818,9 @@
return false;
}
- public static String getProductTypeId(GenericDelegator delegator, String productI) {
+ public static String getProductTypeId(GenericDelegator delegator, String productId) {
try {
- GenericValue product = delegator.findByPrimaryKeyCache("Product", UtilMisc.toMap("productId", productI));
+ GenericValue product = delegator.findByPrimaryKeyCache("Product", UtilMisc.toMap("productId", productId));
if (product != null) {
return product.getString("productTypeId");
}