From b5dc420a8addd3047ed2e7a9864b0adafd5c851f Mon Sep 17 00:00:00 2001 From: Garth Mollett Date: Wed, 3 Dec 2008 13:05:05 +0100 Subject: [PATCH] Fixed authentication problem in import darcs-hash:20081203120505-88a57-dccea3816e45886e1702d4f1f1d66f5cdf4ae76f.gz --- import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/import.php b/import.php index 96579ef..28006ed 100644 --- a/import.php +++ b/import.php @@ -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; } -- 2.39.5