From ad763744f15c753f37268df9bcb9ec1fde0b0173 Mon Sep 17 00:00:00 2001 From: Florian Schlichting Date: Thu, 5 Jan 2017 13:45:45 +0100 Subject: [PATCH] fix a typo, add a debug statement WriteAddressbookMember doesn't exist, but as far as I can see it is only referenced from WriteMember, which itself isn't used anywhere... --- inc/DAVResource.php | 2 +- inc/WritableCollection.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/DAVResource.php b/inc/DAVResource.php index 269e328d..aa84eb1c 100644 --- a/inc/DAVResource.php +++ b/inc/DAVResource.php @@ -665,7 +665,7 @@ EOQRY; dbg_error_log( 'ERROR', "Error occurred in:\n%s\n",$xml); if ($errno >= 200 && $errno < 300 && count($xml_tags) >= 3) { // XML namespace error, but parsing was probably fine: continue and return tags (cf. #9) - dbg_error_log( 'ERROR', 'XML namspace error but tags extracted, trying to continue'); + dbg_error_log( 'ERROR', 'XML namespace error but tags extracted, trying to continue'); } else { return $raw_string; } diff --git a/inc/WritableCollection.php b/inc/WritableCollection.php index ffe52ca3..d190d975 100644 --- a/inc/WritableCollection.php +++ b/inc/WritableCollection.php @@ -298,6 +298,7 @@ EOSQL; return $this->WriteCalendarMember($resource,$create_resource,true,$segment_name,$log_action); } else if ( $resource instanceof VCard ) + trace_bug( "Calling undefined function WriteAddressbookMember!? Please report this to the davical project: davical-general@lists.sourceforge.net" ); return $this->WriteAddressbookMember($resource,$create_resource,$segment_name, $log_action); return $segment_name;