From 98fa892dfdef056498062805d3ded17100a8ad21 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 20 Oct 2011 12:22:17 +1300 Subject: [PATCH] Add a config setting to force unnecessary FBTYPE parameter in freebusy response. --- inc/freebusy-functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/freebusy-functions.php b/inc/freebusy-functions.php index b7d788a7..f4506622 100644 --- a/inc/freebusy-functions.php +++ b/inc/freebusy-functions.php @@ -50,6 +50,9 @@ function get_freebusy( $path_match, $range_start, $range_end, $bin_privs = null if ( $calendar_object->status == 'TENTATIVE' ) { $extra = ';BUSY-TENTATIVE'; } + else if ( isset($c->_workaround_client_freebusy_bug) && $c->_workaround_client_freebusy_bug ) { + $extra = ';BUSY'; + } // else if ( $debugging ) { // $extra = ';'.$calendar_object->dav_id; // }