mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 08:49:00 +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'];
|
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_given' => $data['account_firstname'],
|
||||||
'n_family' => $data['account_lastname'],
|
'n_family' => $data['account_lastname'],
|
||||||
'email' => $data['account_email'],
|
'email' => $data['account_email'],
|
||||||
|
Loading…
Reference in New Issue
Block a user