Skip to content

Commit

Permalink
Merge pull request #2744 from QuizandSurveyMaster/CU-86cxf6ceh-issue-…
Browse files Browse the repository at this point in the history
…with-view-result-page

Cu 86cxf6ceh issue with view result page
  • Loading branch information
zubairraeen authored Dec 27, 2024
2 parents 2aea870 + 2417700 commit 2cde4f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion php/classes/class-qmn-quiz-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,10 @@ public function shortcode_display_result( $atts ) {
'total_questions' => $result_data['total'],
'question_answers_array' => $quiz_result[1],
'comments' => '',
'result_id' => $id,
'result_id' => $id,
'total_possible_points' => $quiz_result['total_possible_points'],
'minimum_possible_points' => $quiz_result['minimum_possible_points'],
'total_attempted_questions' => $quiz_result['total_attempted_questions'],
);
$data = QSM_Results_Pages::generate_pages( $response_data );
return $data['display'];
Expand Down

0 comments on commit 2cde4f2

Please sign in to comment.