mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fix empty history rows when editing an account
This commit is contained in:
parent
f3b0362653
commit
86fa5cbd7a
@ -643,7 +643,8 @@ class Accounts
|
||||
{
|
||||
if (!$data['person_id']) $data['person_id'] = $old['person_id'];
|
||||
|
||||
$contact = array(
|
||||
// Include previous contact information to avoid blank history rows
|
||||
$contact = $GLOBALS['egw']->contacts->read($data['person_id']) + array(
|
||||
'n_given' => $data['account_firstname'],
|
||||
'n_family' => $data['account_lastname'],
|
||||
'email' => $data['account_email'],
|
||||
|
Loading…
Reference in New Issue
Block a user