From 81a5365d322e3eb18090ac346207521de48cd6d4 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Mon, 28 Mar 2022 12:57:13 -0500 Subject: [PATCH] Survey: Show missing icons in multiple-choice-other and selective-display questions #4225 --- main/survey/survey.lib.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/survey/survey.lib.php b/main/survey/survey.lib.php index bc2f847165..895bdd160a 100755 --- a/main/survey/survey.lib.php +++ b/main/survey/survey.lib.php @@ -983,6 +983,7 @@ class SurveyManager 'personality', 'yesno', 'multiplechoice', + 'multiplechoiceother', 'multipleresponse', 'open', 'dropdown', @@ -990,6 +991,7 @@ class SurveyManager 'pagebreak', 'percentage', 'score', + 'selectivedisplay', ]; // the images array @@ -997,6 +999,7 @@ class SurveyManager 'yesno' => 'yesno.png', 'personality' => 'yesno.png', 'multiplechoice' => 'mcua.png', + 'multiplechoiceother' => 'mcma.png', 'multipleresponse' => 'mcma.png', 'open' => 'open_answer.png', 'dropdown' => 'dropdown.png', @@ -1004,6 +1007,7 @@ class SurveyManager 'score' => 'scorequestion.png', 'comment' => 'commentquestion.png', 'pagebreak' => 'page_end.png', + 'selectivedisplay' => 'yesno.png', ]; if (in_array($type, $possible_types)) {