You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/06/30 02:56:21 UTC
svn commit: r672687 -
/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java
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) {