From e0057810c4ae6263a8ca458a532599e0f0e41720 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 4 Apr 2022 18:58:45 -0500 Subject: [PATCH] Survey : Fix display table of results in doodle as trainer - refs BT#19215 --- public/main/survey/meeting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/main/survey/meeting.php b/public/main/survey/meeting.php index 8f3a6fdd58..13cdefeb5e 100644 --- a/public/main/survey/meeting.php +++ b/public/main/survey/meeting.php @@ -156,7 +156,7 @@ $table->setHeaderContents( foreach ($questions as $item) { $questionId = $item->getIid(); - $count = 0; + $count = ''; $questionsWithAnswer = 0; if (isset($answerList[$questionId])) { foreach ($answerList[$questionId] as $userAnswer) { @@ -167,7 +167,7 @@ foreach ($questions as $item) { $count = '

'.$questionsWithAnswer.'

'; } - $table->setHeaderContents( + $table->setCellContents( $row, ++$column, $count