diff --git a/lib/SimpleSAML/Error/Error.php b/lib/SimpleSAML/Error/Error.php
index 483b4c8f06696a60e93e1e8b1b340be785af3ebf..55b47a46010a8848c40e7ade837c52c7c722a2c5 100644
--- a/lib/SimpleSAML/Error/Error.php
+++ b/lib/SimpleSAML/Error/Error.php
@@ -9,8 +9,6 @@
  */
 class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
 {
-
-
     /**
      * The error code.
      *
@@ -18,7 +16,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
      */
     private $errorCode;
 
-
     /**
      * The http code.
      *
@@ -26,7 +23,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
      */
     protected $httpCode = 500;
 
-
     /**
      * The error title tag in dictionary.
      *
@@ -34,7 +30,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
      */
     private $dictTitle;
 
-
     /**
      * The error description tag in dictionary.
      *
@@ -42,7 +37,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
      */
     private $dictDescr;
 
-
     /**
      * The name of module that threw the error.
      *
@@ -50,7 +44,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
      */
     private $module = null;
 
-
     /**
      * The parameters for the error.
      *
@@ -58,7 +51,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
      */
     private $parameters;
 
-
     /**
      * Name of custom include template for the error.
      *
@@ -66,7 +58,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
      */
     protected $includeTemplate = null;
 
-
     /**
      * Constructor for this error.
      *
@@ -254,9 +245,9 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
         $this->logError();
 
         $errorData = $this->saveError();
-
         $config = SimpleSAML_Configuration::getInstance();
 
+        $data = array();
         $data['showerrors'] = $config->getBoolean('showerrors', true);
         $data['error'] = $errorData;
         $data['errorCode'] = $this->errorCode;