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...
This commit is contained in:
Florian Schlichting 2017-01-05 13:45:45 +01:00
parent 78669a3078
commit ad763744f1
2 changed files with 2 additions and 1 deletions

View File

@ -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;
}

View File

@ -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;