svn commit: r791213 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r791213 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java

lektran
Author: lektran
Date: Sun Jul  5 10:04:49 2009
New Revision: 791213

URL: http://svn.apache.org/viewvc?rev=791213&view=rev
Log:
Small fixup to my last commit

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java?rev=791213&r1=791212&r2=791213&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductEvents.java Sun Jul  5 10:04:49 2009
@@ -432,7 +432,7 @@
                     product.set("lastModifiedDate", nowTimestamp);
                     product.setString("lastModifiedByUserLogin", userLogin.getString("userLoginId"));
                     try {
-                        product.set("productHeight", new BigDecimal(request.getParameter("productHeight")));
+                        product.set("productHeight", parseBigDecimalForEntity(request.getParameter("productHeight")));
                         product.set("productWidth", parseBigDecimalForEntity(request.getParameter("productWidth")));
                         product.set("productDepth", parseBigDecimalForEntity(request.getParameter("productDepth")));
                         product.set("weight", parseBigDecimalForEntity(request.getParameter("weight")));