Minor stylistic tweak to code checking for template type
This commit is contained in:
parent
17fcba922c
commit
b1cdf1a1a8
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public class TemplateProcessingHelper {
|
|||
|
||||
// Define a setup template to be included by every page template
|
||||
String templateType = (String) map.get("templateType");
|
||||
if (templateType != null && templateType.equals(FreemarkerHttpServlet.PAGE_TEMPLATE_TYPE)) {
|
||||
if (FreemarkerHttpServlet.PAGE_TEMPLATE_TYPE.equals(templateType)) {
|
||||
env.include(getTemplate("pageSetup.ftl"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue