From 55e53f169fa594fd62ff315ddaf692c9dab7887a Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Wed, 28 Nov 2007 14:34:56 +0000
Subject: [PATCH] SessionHandlerPHP: Added missing () after session_id.

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

diff --git a/lib/SimpleSAML/SessionHandlerPHP.php b/lib/SimpleSAML/SessionHandlerPHP.php
index c669aeee9..2a5e0e576 100644
--- a/lib/SimpleSAML/SessionHandlerPHP.php
+++ b/lib/SimpleSAML/SessionHandlerPHP.php
@@ -27,7 +27,7 @@ class SimpleSAML_SessionHandlerPHP extends SimpleSAML_SessionHandler {
 		 * to call session start. Otherwise the session is already
 		 * started, and we should avoid calling session_start().
 		 */
-		if(session_id === '') {
+		if(session_id() === '') {
 			session_start();
 		}
 	}
-- 
GitLab