Skip to content

Commit

Permalink
Exercise - Fix display matching global result of learner - refs BT#19930
Browse files Browse the repository at this point in the history
  • Loading branch information
cfasanando committed Dec 2, 2022
1 parent 41973ff commit 6be58d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main/exercise/exercise_show.php
Expand Up @@ -449,9 +449,11 @@ function getFCK(vals, marksid) {
case UPLOAD_ANSWER:
case ORAL_EXPRESSION:
case MATCHING:
case MATCHING_GLOBAL:
case DRAGGABLE:
case READING_COMPREHENSION:
case MATCHING_DRAGGABLE:
case MATCHING_DRAGGABLE_GLOBAL:
case MULTIPLE_ANSWER_DROPDOWN:
case MULTIPLE_ANSWER_DROPDOWN_GLOBAL:
$question_result = $objExercise->manage_answer(
Expand Down
2 changes: 1 addition & 1 deletion main/inc/lib/api.lib.php
Expand Up @@ -9465,7 +9465,7 @@ function api_mail_html(
$layout = $mailView->get_template('mail/mail.tpl');
$mail->Body = $mailView->fetch($layout);

if ($additionalParameters['checkUrls']) {
if (isset($additionalParameters['checkUrls'])) {
$useMultipleUrl = api_get_configuration_value('multiple_access_urls');
if ($useMultipleUrl) {
$accessConfig = [];
Expand Down

0 comments on commit 6be58d3

Please sign in to comment.