mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-20 16:56:02 +00:00
Call method correctly.
This commit is contained in:
parent
ca6b47abe2
commit
997650ce79
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user