From d50f13d9805e683239db548f757799f793455762 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Thu, 26 Oct 2006 04:01:41 +0000 Subject: [PATCH] call the function and do not try searching the non existing array --- addressbook/inc/class.bocontacts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.bocontacts.inc.php b/addressbook/inc/class.bocontacts.inc.php index 2ad878ee17..914d09c1e4 100755 --- a/addressbook/inc/class.bocontacts.inc.php +++ b/addressbook/inc/class.bocontacts.inc.php @@ -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']; }