From 53c43f4f2bb5e8fa38b98f47ba452dc81b6eff20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Mon, 28 Jan 2008 12:28:15 +0000
Subject: [PATCH] Missing show() call on template. This bug caused dropdown
 menu of disco for shib 1.3 sp to not work properly.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@199 44740490-163a-0410-bde0-09ae8108e29a
---
 www/shib13/sp/idpdisco.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/shib13/sp/idpdisco.php b/www/shib13/sp/idpdisco.php
index dae06f603..29d117d05 100644
--- a/www/shib13/sp/idpdisco.php
+++ b/www/shib13/sp/idpdisco.php
@@ -41,7 +41,7 @@ if (isset($_GET['idpentityid'])) {
 	
 	$returnurl = SimpleSAML_Utilities::addURLparameter($return, $returnidparam . '=' . $idpentityid);
 	SimpleSAML_Utilities::redirect($returnurl);
-
+	
 }
 
 
@@ -56,6 +56,7 @@ if ($config->getValue('idpdisco.layout') == 'dropdown') {
 	$t->data['entityID'] = $spentityid;
 	$t->data['preferedidp'] = (!empty($_COOKIE['preferedidp'])) ? $_COOKIE['preferedidp'] : null;
 	$t->data['urlpattern'] = htmlentities(SimpleSAML_Utilities::selfURLNoQuery());
+	$t->show();
 }
 else
 {
-- 
GitLab