Skip to content

Commit

Permalink
38491: Pre9 Finish a survey; 38511: Pre9 - Survey - > Tab Participants
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Nov 15, 2023
1 parent 6fb49ca commit 1f65eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f65eb2

Please sign in to comment.