mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-19 01:34:26 +00:00
Compare commits
3 Commits
35c8d78a15
...
eabd7d3ae0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eabd7d3ae0 | ||
|
|
fc4f6013db | ||
|
|
5920fe1efe |
@ -119,12 +119,13 @@ class CalDAVClient {
|
||||
*/
|
||||
function ParseResponse( $response ) {
|
||||
$pos = strpos($response, '<?xml');
|
||||
$epos = strrpos($response, '>');
|
||||
if ($pos === false) {
|
||||
$this->httpResponse = trim($response);
|
||||
}
|
||||
else {
|
||||
$this->httpResponse = trim(substr($response, 0, $pos));
|
||||
$this->xmlResponse = trim(substr($response, $pos));
|
||||
$this->xmlResponse = trim(substr($response, $pos, $epos-$pos+1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -312,7 +312,7 @@ function processItipCancel( vCalendar $vcal, vProperty $attendee, WritableCollec
|
||||
|
||||
if ( $attendee_calendar->actualDeleteCalendarMember($row->dav_name) === false ) {
|
||||
dbg_error_log('ERROR', 'Could not delete calendar member %s for %s',
|
||||
$row->dav_name(), $attendee->Value());
|
||||
$row->dav_name, $attendee->Value());
|
||||
trace_bug('Failed to write scheduling resource.');
|
||||
return '5.2';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user