From d4dcd189994dc72dc52c33d3a49ad6e13441f776 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tim.dijen@minbzk.nl>
Date: Thu, 9 Dec 2021 21:30:43 +0100
Subject: [PATCH] Remove leftover of old templating system

---
 templates/error.twig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/error.twig b/templates/error.twig
index 8a15542fa..580300c78 100644
--- a/templates/error.twig
+++ b/templates/error.twig
@@ -10,7 +10,7 @@
        e.g. "core:no_state.tpl.php". The format is "<module>:<template name>"
     #}
     {% if includeTemplate -%}
-        {% set parts = includeTemplate|replace({'.tpl.php':'.twig'})|split(':') %}
+        {% set parts = includeTemplate|split(':') %}
         {% set namespacedTemplate = "@" ~ parts[0] ~ "/" ~ parts[1] %}
         {% include(namespacedTemplate) %}
     {%- endif %}
-- 
GitLab