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 {