Oops...
[dotclear.git] / class.xorg.auth.php
index 34bff03..c47e404 100644 (file)
@@ -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) {