forked from extern/egroupware
call the function and do not try searching the non existing array
This commit is contained in:
parent
268d434501
commit
d50f13d980
@ -433,7 +433,7 @@ class bocontacts extends socontacts
|
||||
{
|
||||
if (!isset($contact['owner'])) // owner not set on update, eg. SyncML
|
||||
{
|
||||
if (($old = $this->read[$contact['id']])) // --> try reading the old entry and set it from there
|
||||
if (($old = $this->read($contact['id']))) // --> try reading the old entry and set it from there
|
||||
{
|
||||
$contact['owner'] = $old['owner'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user