Author: jleroux
Date: Sun Jun 29 17:56:20 2008
New Revision: 672687
URL:
http://svn.apache.org/viewvc?rev=672687&view=revLog:
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) {