Skip to content
Snippets Groups Projects
Unverified Commit 3e938145 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Fix regression; Do not normalize template files to twig just because we have a theme

parent 153f5e3a
No related branches found
No related tags found
No related merge requests found
...@@ -233,7 +233,7 @@ class Template extends Response ...@@ -233,7 +233,7 @@ class Template extends Response
$templateName = substr($templateName, 0, $tplpos); $templateName = substr($templateName, 0, $tplpos);
} }
if ($this->useNewUI || ($this->theme['module'] !== null)) { if ($this->useNewUI) {
return $templateName . '.twig'; return $templateName . '.twig';
} }
return $templateName; return $templateName;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment