mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
update doc and fix a warning
This commit is contained in:
1 parent
50a29d96ab
commit
eba26021c7
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -285,7 +285,7 @@ class DAVResource
|
||||
$this->resource->url = null;
|
||||
}
|
||||
else {
|
||||
if ( strtoupper($this->resource->class)=='CONFIDENTIAL' && !$this->HavePrivilegeTo('all') && $session->user_no != $this->resource->user_no ) {
|
||||
if ( isset($this->resource->class) && strtoupper($this->resource->class)=='CONFIDENTIAL' && !$this->HavePrivilegeTo('all') && $session->user_no != $this->resource->user_no ) {
|
||||
$vcal = new iCalComponent($this->resource->caldav_data);
|
||||
$confidential = $vcal->CloneConfidential();
|
||||
$this->resource->caldav_data = $confidential->Render();
|
||||
|
||||
Reference in new issue
Block a user