From 9540f2ee309aa96c90bf8ca2dfa36b51a0634c74 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 25 Aug 2009 06:49:47 +0000
Subject: [PATCH] shib13: Fix destination when debug === FALSE.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1711 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Bindings/Shib13/HTTPPost.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Bindings/Shib13/HTTPPost.php b/lib/SimpleSAML/Bindings/Shib13/HTTPPost.php
index f776889da..a3359c3ee 100644
--- a/lib/SimpleSAML/Bindings/Shib13/HTTPPost.php
+++ b/lib/SimpleSAML/Bindings/Shib13/HTTPPost.php
@@ -94,7 +94,7 @@ class SimpleSAML_Bindings_Shib13_HTTPPost {
 			$p->show();
 
 		} else {
-			SimpleSAML_Utilities::postRedirect($destination, array(
+			SimpleSAML_Utilities::postRedirect($shire, array(
 				'TARGET' => $relayState,
 				'SAMLResponse' => base64_encode($response),
 			));
-- 
GitLab