diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index 1f365346bdf7080a47c057d25841bf2ea7e38dc0..7cbf70939f1cf74169df987e6e24953344963660 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -51,7 +51,7 @@ class SimpleSAML_XHTML_Template
         $this->configuration = $configuration;
         $this->template = $template;
         $this->data['baseurlpath'] = $this->configuration->getBaseURL();
-        $this->translator = new SimpleSAML\Locale\Translate($configuration, $defaultDictionary = null);
+        $this->translator = new SimpleSAML\Locale\Translate($configuration, $defaultDictionary);
     }