mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-27 02:54:27 +00:00
Allow empty VCALENDAR to work for calendar creation.
This commit is contained in:
parent
1335d2008e
commit
23f2ad13a1
@ -230,6 +230,7 @@ function import_collection( $ics_content, $user_no, $path, $caldav_context ) {
|
||||
$resources = array();
|
||||
foreach( $components AS $k => $comp ) {
|
||||
$uid = $comp->GetPValue('UID');
|
||||
if ( $uid == null || $uid == '' ) continue;
|
||||
if ( !isset($resources[$uid]) ) $resources[$uid] = array();
|
||||
$resources[$uid][] = $comp;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user