Loading sources/quiz2.php +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
sources/quiz2.php +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading