Author: jleroux
Date: Sun Jun 29 17:57:51 2008
New Revision: 672688
URL:
http://svn.apache.org/viewvc?rev=672688&view=revLog:
Revert merge from 672187 (was rev. 672188)
Per David's advice revert change (was already done in another way in trunk rev. 539527 (
https://issues.apache.org/jira/browse/OFBIZ-593)
Modified:
ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java
Modified: ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java?rev=672688&r1=672687&r2=672688&view=diff==============================================================================
--- ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java (original)
+++ ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/GenericWebEvent.java Sun Jun 29 17:57:51 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) {