From 997650ce7967d325f55453df07dedfb0437677f5 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 12 Sep 2011 19:48:46 +1200 Subject: [PATCH] Call method correctly. --- inc/drivers_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index 4c5f2a4b..c3a704a7 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -277,7 +277,7 @@ function sync_user_from_LDAP( Principal &$principal, $mapping, $ldap_values ) { } } } - if ( $principal->Exists ) { + if ( $principal->Exists() ) { $principal->Update($fields_to_set); } else {