From 8fa1fc504d0d31c61d083c2a80421e7eac24015c Mon Sep 17 00:00:00 2001 From: Tim Schmitz Date: Wed, 18 Dec 2024 10:59:17 +0100 Subject: [PATCH] Calendar: no prepareOutput in async call (42885, 43235) --- .../Calendar/classes/class.ilCalendarPresentationGUI.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/ILIAS/Calendar/classes/class.ilCalendarPresentationGUI.php b/components/ILIAS/Calendar/classes/class.ilCalendarPresentationGUI.php index f4798e6151e7..c9292ee30e05 100755 --- a/components/ILIAS/Calendar/classes/class.ilCalendarPresentationGUI.php +++ b/components/ILIAS/Calendar/classes/class.ilCalendarPresentationGUI.php @@ -211,7 +211,9 @@ public function executeCommand(): void } $this->initSeed(); - $this->prepareOutput(); + if (!$this->ctrl->isAsynch()) { + $this->prepareOutput(); + } $this->help->setScreenIdComponent("cal"); switch ($cmd) {