svn commit: r672687 - /ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java

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

svn commit: r672687 - /ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java

jleroux@apache.org
Author: jleroux
Date: Sun Jun 29 17:56:20 2008
New Revision: 672687

URL: http://svn.apache.org/viewvc?rev=672687&view=rev
Log:
Per David's advice revert change (was already done in another way in rev. 539527 (https://issues.apache.org/jira/browse/OFBIZ-593)

Modified:
    ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java

Modified: ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java?rev=672687&r1=672686&r2=672687&view=diff
==============================================================================
--- ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java (original)
+++ ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java Sun Jun 29 17:56:20 2008
@@ -180,11 +180,7 @@
             }
             
             String fval = request.getParameter(field.getName());
-            if (fval != null && fval.length() <= 0) {
-                fval = null;
-            }
-            if (fval == null || fval.length() > 0) {
-
+            if (fval != null && fval.length() > 0) {
                 try {
                     findByEntity.setString(field.getName(), fval);
                 } catch (Exception e) {