Commit b7191f4d authored by michael.simon's avatar michael.simon
Browse files

fix NPE bug, whenn cc or bcc is null

parent f982a0d4
......@@ -45,6 +45,9 @@ public class TemplateRenderer {
public String evaluate(String template, Map<String, Object> context)
throws TemplateRenderingException {
if (template == null)
return null;
VelocityContext velocityContext = new VelocityContext(context);
StringWriter out = new StringWriter();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment