Loading view/unicaen-enquete/resultat/resultats.phtml +2 −1 Original line number Diff line number Diff line Loading @@ -376,6 +376,7 @@ $nbElements = count($elements); <?php $brut = []; $header = ["Ligne", "Id"]; $reponses[""] = ""; foreach ($enquete->getQuestions() as $question) { if ($question->hasNote()) $header[] = 'evaluation [' . $question->getLibelle() . ']'; if ($question->hasCommentaire()) $header[] = 'commentaire [' . $question->getLibelle() . ']'; Loading @@ -395,7 +396,7 @@ $nbElements = count($elements); if (isset($current) and $current->getReponse()) { $evaluation = $current->getReponse(); } $data['evaluation_' . $question->getId()] = $evaluation; $data['evaluation_' . $question->getId()] = $reponses[$evaluation]; } if ($question->hasCommentaire()) { $commentaire = ""; Loading Loading
view/unicaen-enquete/resultat/resultats.phtml +2 −1 Original line number Diff line number Diff line Loading @@ -376,6 +376,7 @@ $nbElements = count($elements); <?php $brut = []; $header = ["Ligne", "Id"]; $reponses[""] = ""; foreach ($enquete->getQuestions() as $question) { if ($question->hasNote()) $header[] = 'evaluation [' . $question->getLibelle() . ']'; if ($question->hasCommentaire()) $header[] = 'commentaire [' . $question->getLibelle() . ']'; Loading @@ -395,7 +396,7 @@ $nbElements = count($elements); if (isset($current) and $current->getReponse()) { $evaluation = $current->getReponse(); } $data['evaluation_' . $question->getId()] = $evaluation; $data['evaluation_' . $question->getId()] = $reponses[$evaluation]; } if ($question->hasCommentaire()) { $commentaire = ""; Loading