]> git.sur5r.net Git - contagged/commitdiff
Fixed authentication problem in import
authorGarth Mollett <garth@tilefile.com>
Wed, 3 Dec 2008 12:05:05 +0000 (13:05 +0100)
committerGarth Mollett <garth@tilefile.com>
Wed, 3 Dec 2008 12:05:05 +0000 (13:05 +0100)
darcs-hash:20081203120505-88a57-dccea3816e45886e1702d4f1f1d66f5cdf4ae76f.gz

import.php

index 96579ef529e49c9fca3e0b7522eb34648eb77178..28006ed75cb9ea81769fa3bbcf2b2aa54c5ad5f3 100644 (file)
@@ -3,7 +3,7 @@ require_once('inc/init.php');
 require_once('inc/Contact_Vcard_Parse.php');
 ldap_login();
 
-if(!$user){
+if(!$_SESSION['ldapab']['username']){
   header("Location: login.php");
   exit;
 }