From fc37b68461f16b2f5b5a2238d4d782bb7076b48a Mon Sep 17 00:00:00 2001 From: wmbr Date: Wed, 25 Apr 2018 00:50:53 +0000 Subject: [PATCH] Fix a typo in DAV_AllProperties which caused dead properties to be omitted --- inc/DAVResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/DAVResource.php b/inc/DAVResource.php index 33272340..67c68e60 100644 --- a/inc/DAVResource.php +++ b/inc/DAVResource.php @@ -1533,7 +1533,7 @@ EOQRY; * Return an array which is an expansion of the DAV::allprop */ function DAV_AllProperties() { - if ( isset($this->dead_properties) ) $this->FetchDeadProperties(); + if ( !isset($this->dead_properties) ) $this->FetchDeadProperties(); $allprop = array_merge( (isset($this->dead_properties)?$this->dead_properties:array()), (isset($include_properties)?$include_properties:array()), array(