From e9c98e008ed7dbb5d642aa4788edd2510c952ca1 Mon Sep 17 00:00:00 2001
From: Andjelko Horvat <comel@vingd.com>
Date: Mon, 11 Nov 2013 16:04:54 +0000
Subject: [PATCH] SimpleSAML_XHTML_IdPDisco::getTargetIdP(): fix
 SimpleSAML_Utilities::setCookie() call (introduced in r3269).

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3289 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/XHTML/IdPDisco.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/SimpleSAML/XHTML/IdPDisco.php b/lib/SimpleSAML/XHTML/IdPDisco.php
index c0563ad21..4b7e51494 100644
--- a/lib/SimpleSAML/XHTML/IdPDisco.php
+++ b/lib/SimpleSAML/XHTML/IdPDisco.php
@@ -398,9 +398,9 @@ class SimpleSAML_XHTML_IdPDisco {
 			$this->setPreviousIdP($idp);
 
 			if($this->saveIdP()) {
-				$this->setCookie('remember', 1);
+				$this->setCookie('remember', '1');
 			} else {
-				$this->setCookie('remember', 0);
+				$this->setCookie('remember', '0');
 			}
 
 			return $idp;
-- 
GitLab