Merge pull request #4236 from christianbeeznest/OFAJ-19215-doodle

Survey : Fix display table of results in doodle as trainer - refs BT#19215
pull/4312/head
Yannick Warnier 3 years ago committed by GitHub
commit a3f112c9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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 = '<p style="color:cornflowerblue" >
<span class="fa fa-check fa-2x"></span>'.$questionsWithAnswer.'</p>';
}
$table->setHeaderContents(
$table->setCellContents(
$row,
++$column,
$count

Loading…
Cancel
Save