diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index 5e76cb30..bf7fcbe3 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -39,7 +39,7 @@ class CalDAVRequest * A variety of requests may set the "Depth" header to control recursion */ $this->depth = ( isset($_SERVER['HTTP_DEPTH']) ? $_SERVER['HTTP_DEPTH'] : 0 ); - if ( $this->depth == 'infinite' ) $this->depth = 99; + if ( $this->depth == 'infinity' ) $this->depth = 99; $this->depth = intval($this->depth); /**