Call method correctly.

This commit is contained in:
Andrew McMillan 2011-09-12 19:48:46 +12:00
parent ca6b47abe2
commit 997650ce79

View File

@ -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 {