From 3e9381452b9ff82f3a2a66d29b6129276e499d6a Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tim.dijen@minbzk.nl> Date: Fri, 2 Oct 2020 15:53:23 +0200 Subject: [PATCH] Fix regression; Do not normalize template files to twig just because we have a theme --- lib/SimpleSAML/XHTML/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index 600f9c364..f4076cc44 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -233,7 +233,7 @@ class Template extends Response $templateName = substr($templateName, 0, $tplpos); } - if ($this->useNewUI || ($this->theme['module'] !== null)) { + if ($this->useNewUI) { return $templateName . '.twig'; } return $templateName; -- GitLab