From 9898e1b6e97e2eadf03aed9dde628cc533945213 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Sat, 22 Dec 2018 23:48:22 +0100 Subject: [PATCH] Remove excess backslash class_implements() returns class names without leading backslash --- 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 13be9e395..43127d9a0 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -134,7 +134,7 @@ class Template extends Response // check if we need to attach a theme controller $controller = $this->configuration->getString('theme.controller', false); 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(); } -- GitLab