From bde63a01f9e7c555c37a78768e5ef9143d5ee34d Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Wed, 18 Nov 2009 11:10:36 +0000 Subject: [PATCH] fixed missing argument error on search (e.g. slowsync), sorry - my fault --- addressbook/inc/class.addressbook_vcal.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.addressbook_vcal.inc.php b/addressbook/inc/class.addressbook_vcal.inc.php index 46dbb3ace6..126023978a 100644 --- a/addressbook/inc/class.addressbook_vcal.inc.php +++ b/addressbook/inc/class.addressbook_vcal.inc.php @@ -395,7 +395,7 @@ class addressbook_vcal extends addressbook_bo { $result = false; - if (($contact = $this->vcardtoegw($_vcard))) + if (($contact = $this->vcardtoegw($_vcard, $contentID))) { if ($contentID) { @@ -415,7 +415,7 @@ class addressbook_vcal extends addressbook_bo if (is_array($_supportedFields)) $this->supportedFields = $_supportedFields; } - function vcardtoegw($_vcard, $_abID) + function vcardtoegw($_vcard, $_abID=null) { // the horde class does the charset conversion. DO NOT CONVERT HERE. // be as flexible as possible