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

Remove excess backslash

class_implements() returns class names without leading backslash
parent e88cbf2e
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ class Template extends Response ...@@ -134,7 +134,7 @@ class Template extends Response
// check if we need to attach a theme controller // check if we need to attach a theme controller
$controller = $this->configuration->getString('theme.controller', false); $controller = $this->configuration->getString('theme.controller', false);
if ($controller && class_exists($controller) && if ($controller && class_exists($controller) &&
in_array('\SimpleSAML\XHTML\TemplateControllerInterface', class_implements($controller)) in_array('SimpleSAML\XHTML\TemplateControllerInterface', class_implements($controller))
) { ) {
$this->controller = new $controller(); $this->controller = new $controller();
} }
......
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