mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
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