Loading view/unicaen-enquete/resultat/resultats.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -366,8 +366,8 @@ $nbElements = count($elements); if ($reponse) { foreach ($enquete->getQuestions() as $question) { $current = $reponse->getReponseFor($question); if ($question->hasNote()) $data['evaluation_' . $question->getId()] = $reponses[$current->getReponse()] ?? ""; if ($question->hasCommentaire()) $data['commentaire_' . $question->getId()] = html_entity_decode(strip_tags($current->getCommentaire())) ?? ""; if ($question->hasNote()) $data['evaluation_' . $question->getId()] = isset($current)?$reponses[$current->getReponse()] : ""; if ($question->hasCommentaire()) $data['commentaire_' . $question->getId()] = isset($current)?html_entity_decode(strip_tags($current->getCommentaire())) : ""; } } $brut[] = $data; Loading Loading
view/unicaen-enquete/resultat/resultats.phtml +2 −2 Original line number Diff line number Diff line Loading @@ -366,8 +366,8 @@ $nbElements = count($elements); if ($reponse) { foreach ($enquete->getQuestions() as $question) { $current = $reponse->getReponseFor($question); if ($question->hasNote()) $data['evaluation_' . $question->getId()] = $reponses[$current->getReponse()] ?? ""; if ($question->hasCommentaire()) $data['commentaire_' . $question->getId()] = html_entity_decode(strip_tags($current->getCommentaire())) ?? ""; if ($question->hasNote()) $data['evaluation_' . $question->getId()] = isset($current)?$reponses[$current->getReponse()] : ""; if ($question->hasCommentaire()) $data['commentaire_' . $question->getId()] = isset($current)?html_entity_decode(strip_tags($current->getCommentaire())) : ""; } } $brut[] = $data; Loading