From edc4e3fc3c16237f37c73ff6a82295326c9f6355 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Wed, 15 Jul 2009 06:50:06 +0000 Subject: [PATCH] Fix missing "new" keyword in file "lib/SimpleSAML/XML/Shib13/AuthnResponse.php" Patch by sylvain@demarque.com. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1586 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/XML/Shib13/AuthnResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php index 507f6b0ca..1f5bef1ea 100644 --- a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php +++ b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php @@ -210,7 +210,7 @@ class SimpleSAML_XML_Shib13_AuthnResponse extends SimpleSAML_XML_AuthnResponse { if ($attr = $nodelist->item(0)) { return $attr->value; } else { - throw Exception('Could not find Issuer field in Authentication response'); + throw new Exception('Could not find Issuer field in Authentication response'); } } -- GitLab