From fc802c0306effea31c07a800af94dc6354afc7e9 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 31 May 2008 18:27:50 +0200 Subject: [PATCH] Oops... Signed-off-by: Florent Bruneau --- class.xorg.auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class.xorg.auth.php b/class.xorg.auth.php index 34bff03..c47e404 100644 --- a/class.xorg.auth.php +++ b/class.xorg.auth.php @@ -92,7 +92,7 @@ class xorgAuth extends dcAuth { global $core; $_COOKIE[DC_SESSION_NAME] = $_GET['PHPSESSID']; unset($_GET['PHPSESSID']); - if (session_id()) { + if (!session_id()) { $core->session->start(); } foreach($this->xorg_infos as $key => $val) { -- 2.1.4