mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
The displayname can be unset, test for that
This commit is contained in:
parent
cb287c5abf
commit
b77b2640f8
@ -609,7 +609,7 @@ function sync_LDAP_groups(){
|
||||
$user->fullname = $group;
|
||||
}
|
||||
|
||||
if ($user->displayname == "") {
|
||||
if (! isset($user->displayname) || $user->displayname == "") {
|
||||
$user->displayname = $group;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user