Commit 4cd22030 authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4782 (Quiz question text does not show as edited, when edited)

parent 8a34fd9c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -235,8 +235,8 @@ function _save_available_quiz_answers($id, $text, $type)
                'q_required' => $required,
                'q_marked' => $marked,
            );
            $map += lang_remap('q_question_text', $existing[$i]['q_question_text'], $question);
            $map += lang_remap('q_question_extra_text', $existing[$i]['q_question_extra_text'], $question_extra_text);
            $map += lang_remap_comcode('q_question_text', $existing[$i]['q_question_text'], $question);
            $map += lang_remap_comcode('q_question_extra_text', $existing[$i]['q_question_extra_text'], $question_extra_text);
            $GLOBALS['SITE_DB']->query_update('quiz_questions', $map, array('id' => $existing[$i]['id']));

            // Now we add the answers