From 985338a1b6be9097c362d751d58194422d5fdd9c Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 24 Mar 2010 12:55:28 +1300 Subject: [PATCH] Correct typo in attendee change to PUT-functions. --- inc/caldav-PUT-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-PUT-functions.php b/inc/caldav-PUT-functions.php index 553d7fbe..115d3a9b 100644 --- a/inc/caldav-PUT-functions.php +++ b/inc/caldav-PUT-functions.php @@ -679,7 +679,7 @@ function write_attendees( $dav_id, $ical ) { $processed = array(); foreach( $attendees AS $v ) { $attendee = $v->Value(); - if ( $processed[$attendee] ) { + if ( isset($processed[$attendee]) ) { dbg_error_log( 'LOG', 'Duplicate attendee "%s" in resource "%d"', $attendee, $dav_id ); dbg_error_log( 'LOG', 'Original: "%s"', $processed[$attendee] ); dbg_error_log( 'LOG', 'Duplicate: "%s"', $v->Render() );