From 453d4b46bc3ffe075207b8f2dc250142de223a2f Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 30 Aug 2010 13:07:10 +0000 Subject: [PATCH] SimpleSAML_Error_Error: Fix $this->parameters being uninitialized. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2521 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Error/Error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Error/Error.php b/lib/SimpleSAML/Error/Error.php index c8d68591a..fbf974bfa 100644 --- a/lib/SimpleSAML/Error/Error.php +++ b/lib/SimpleSAML/Error/Error.php @@ -50,7 +50,7 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception { unset($this->parameters[0]); $this->errorCode = $errorCode[0]; } else { - $parameters = array(); + $this->parameters = array(); $this->errorCode = $errorCode; } -- GitLab