From c6b31ccb0dae036e56f47c47a3d032b82e128b07 Mon Sep 17 00:00:00 2001 From: Thorsten Marx Date: Fri, 31 Jan 2025 15:43:18 +0100 Subject: [PATCH] fix template cache --- .../java/com/condation/cms/templates/TemplateConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms-templates/src/main/java/com/condation/cms/templates/TemplateConfiguration.java b/cms-templates/src/main/java/com/condation/cms/templates/TemplateConfiguration.java index 4cfc08c21..ddc1972f9 100644 --- a/cms-templates/src/main/java/com/condation/cms/templates/TemplateConfiguration.java +++ b/cms-templates/src/main/java/com/condation/cms/templates/TemplateConfiguration.java @@ -62,7 +62,7 @@ public boolean hasFilters () { } public TemplateConfiguration setCache (ICache cache) { - if (templateCache != null) { + if (templateCache == null) { templateCache = new TemplateCache(cache); } return this;