diff --git a/components/ILIAS/Survey/Execution/class.ilSurveyExecutionGUI.php b/components/ILIAS/Survey/Execution/class.ilSurveyExecutionGUI.php index d958a245c1bc..252bdf9ca571 100755 --- a/components/ILIAS/Survey/Execution/class.ilSurveyExecutionGUI.php +++ b/components/ILIAS/Survey/Execution/class.ilSurveyExecutionGUI.php @@ -651,7 +651,7 @@ public function runShowFinishedPage(): void $r = $this->gui->ui()->renderer(); $p = $f->panel()->standard( "", - $this->object->prepareTextareaOutput($this->object->getOutro()) + $f->legacy($this->object->prepareTextareaOutput($this->object->getOutro())) ); $this->tpl->setContent($r->render($p)); diff --git a/components/ILIAS/Survey/Participants/class.ilSurveyMaintenanceTableGUI.php b/components/ILIAS/Survey/Participants/class.ilSurveyMaintenanceTableGUI.php index d5092f8608fa..0b2d63fbf20e 100755 --- a/components/ILIAS/Survey/Participants/class.ilSurveyMaintenanceTableGUI.php +++ b/components/ILIAS/Survey/Participants/class.ilSurveyMaintenanceTableGUI.php @@ -137,7 +137,7 @@ protected function formatTime($timeinseconds): string return $this->lng->txt('not_available'); } - return sprintf("%02d:%02d:%02d", ($timeinseconds / 3600), ($timeinseconds / 60) % 60, $timeinseconds % 60); + return sprintf("%02d:%02d:%02d", (int) ($timeinseconds / 3600), (int) ($timeinseconds / 60) % 60, (int) $timeinseconds % 60); } public function numericOrdering(string $a_field): bool