mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-27 15:31:32 +00:00
Let the VCalendar class handle how to get the UID from the calendar.
This commit is contained in:
parent
c28759364f
commit
873cc272ba
@ -52,7 +52,7 @@ class WritableCollection extends DAVResource {
|
||||
$resource_type = $first->GetType();
|
||||
}
|
||||
|
||||
$uid = $first->GetPValue('UID');
|
||||
$uid = $vcal->GetUID();
|
||||
if ( empty($segment_name) ) {
|
||||
$segment_name = $uid.'.ics';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user