mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-28 03:04:15 +00:00
What a difference a 'y' makes! The DAV spec calls for 'infinite' rather
than 'infinity'.
This commit is contained in:
parent
d3a71cd234
commit
d3c4cc7f74
@ -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);
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user