Author: adrianc
Date: Sat May 5 17:06:36 2012
New Revision: 1334452
URL:
http://svn.apache.org/viewvc?rev=1334452&view=revLog:
Small fixup for my previous commit.
Modified:
ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java
Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java?rev=1334452&r1=1334451&r2=1334452&view=diff==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/SetServiceFields.java Sat May 5 17:06:36 2012
@@ -133,7 +133,7 @@ public final class SetServiceFields exte
if (!this.mapFma.isEmpty()) {
sb.append("map=\"").append(this.mapFma).append("\" ");
}
- if (this.toMapFma != null) {
+ if (!this.toMapFma.isEmpty()) {
sb.append("to-map=\"").append(this.toMapFma).append("\" ");
}
sb.append("/>");