Changed FreeMarkerWorker to remove entry named null from context before processing the template with it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496193 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David E. Jones
2007-01-14 23:47:48 +00:00
parent db56c184c8
commit 5a8cb3f4e9
@@ -167,9 +167,11 @@ public class FreeMarkerWorker {
// add the OFBiz transforms/methods
addAllOfbizTransforms(context);
// make sure there is no "null" string in there as FreeMarker will try to use it
context.remove("null");
// process the template with the given data and write
// the email body to the String buffer
// process the template with the given data
template.process(context, outWriter);
}