LSsession :: ajax_onLdapServerChangedLogin() : Fixed notice PHP
authorBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:36:26 +0000 (19:36 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Nov 2010 18:36:26 +0000 (19:36 +0100)
public_html/includes/class/class.LSsession.php

index 5df39de..0613e65 100644 (file)
@@ -2230,7 +2230,7 @@ class LSsession {
       self :: setLdapServer($_REQUEST['server']);
       $data = array();
       if ( self :: LSldapConnect() ) {
-        session_start();
+        if (session_id()=="") session_start();
         if (isset($_SESSION['LSsession_topDn'])) {
           $sel = $_SESSION['LSsession_topDn'];
         }