]> git.sur5r.net Git - contagged/blobdiff - importVCF.php
PHP5 compatibility and code cleanup
[contagged] / importVCF.php
index bc9ea6584ee2dd17d97ab7d4346fc415b28b3447..1138b996cf0bb5c6249531ae1b1516bc8151c531 100644 (file)
@@ -3,7 +3,7 @@
   require_once('Contact_Vcard_Parse.php');
   ldap_login();
 
-  if(! $_SESSION[ldapab][username] ){
+  if(! $_SESSION['ldapab']['username'] ){
     header("Location: login.php");
     exit;
   }