From d3c4cc7f7473f0ff7feec41d16e1caa7a0d6c15c Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 2 Dec 2006 00:20:02 +1300 Subject: [PATCH] What a difference a 'y' makes! The DAV spec calls for 'infinite' rather than 'infinity'. --- inc/CalDAVRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); /**