From 22ff5a320fdbed3e4d70dbc758aecad2bf4dd4af Mon Sep 17 00:00:00 2001 From: "Sekan, Tobias" Date: Fri, 21 Aug 2020 08:40:23 +0200 Subject: [PATCH] fix not working external calender on/off --- htdocs/comm/action/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index f75913bb144..e5ab1c02902 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -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;