mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-01 19:09:30 +01:00
Admin: Fix user record couldn't generate a title without account_id
This caused import of new users to fail.
This commit is contained in:
parent
e880479099
commit
f568930a90
@ -81,7 +81,8 @@ class admin_egw_user_record implements importexport_iface_egw_record
|
|||||||
*@return string title
|
*@return string title
|
||||||
*/
|
*/
|
||||||
public function get_title() {
|
public function get_title() {
|
||||||
return Api\Accounts::username($this->identifier);
|
return $this->identifier ? Api\Accounts::username($this->identifier) :
|
||||||
|
Accounts::format_username($this->account_lid, $this->account_firstname, $this->account_lastname, $this->identifier);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user