mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
fix the use of deprecated firstname/lastname; using account_firstname/account_lastname
This commit is contained in:
parent
2d22b12486
commit
8e755e1813
@ -344,8 +344,8 @@ class common
|
||||
if (! $lid && ! $firstname && ! $lastname)
|
||||
{
|
||||
$lid = $GLOBALS['egw_info']['user']['account_lid'];
|
||||
$firstname = $GLOBALS['egw_info']['user']['firstname'];
|
||||
$lastname = $GLOBALS['egw_info']['user']['lastname'];
|
||||
$firstname = $GLOBALS['egw_info']['user']['account_firstname'];
|
||||
$lastname = $GLOBALS['egw_info']['user']['account_lastname'];
|
||||
}
|
||||
$is_group = $GLOBALS['egw']->accounts->get_type($accountid ? $accountid : $lid) == 'g';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user