2
0
forked from Wavyzz/dolibarr

fix not working external calender on/off

This commit is contained in:
Sekan, Tobias
2020-08-21 08:40:23 +02:00
parent bb1452917b
commit 22ff5a320f

View File

@@ -1069,10 +1069,10 @@ if (count($listofextcals))
}
else
{
$event->icalname = $namecal;
$event->type_code = "ICALEVENT";
}
$event->icalname = $namecal;
$event->icalcolor = $colorcal;
$usertime = 0; // We dont modify date because we want to have date into memory datep and datef stored as GMT date. Compensation will be done during output.
$event->datep = $datestart + $usertime;