mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
Ensure user_no on request is always valid.
This commit is contained in:
parent
77f3e798ad
commit
380d980dc2
@ -145,6 +145,7 @@ class CalDAVRequest
|
|||||||
dbg_error_log( "caldav", "Restricted permissions for user accessing someone elses hierarchy: %s", implode( ", ", $this->permissions ) );
|
dbg_error_log( "caldav", "Restricted permissions for user accessing someone elses hierarchy: %s", implode( ", ", $this->permissions ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( !isset($this->user_no) ) $this->user_no = $session->user_no;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If the content we are receiving is XML then we parse it here.
|
* If the content we are receiving is XML then we parse it here.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user