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

index f188f7b..ee74eb6 100644 (file)
@@ -574,7 +574,7 @@ class LSsession {
       if (self :: LSldapConnect()) {
 
         // topDn
-        if ( $_POST['LSsession_topDn'] != '' ){
+        if (isset($_POST['LSsession_topDn']) && $_POST['LSsession_topDn'] != '' ){
           self :: $topDn = $_POST['LSsession_topDn'];
         }
         else {