Skip to content
Snippets Groups Projects
Commit 85ec26b1 authored by Joshua Ellinger's avatar Joshua Ellinger
Browse files

#168448 bug causing custom php to not work. Committing for testing. by...

#168448 bug causing custom php to not work. Committing for testing. by westwesterson and Gerhard Killesreiter
parent 0ed70a98
No related branches found
No related tags found
No related merge requests found
......@@ -1114,7 +1114,7 @@ function _quiz_get_summary_text($quiz, $score) {
$summary = t('The user passed this quiz.');
}
else if (trim($quiz->summary_pass) != '') {
$summary = (!empty($score_result)) ? $score_result : check_markup($quiz->summary_pass, $quiz->format);
$summary = (!empty($score_result)) ? $score_result : check_markup($quiz->summary_pass, $quiz->format, FALSE);
}
}
// If the user did not pass or we are not using pass/fail.
......@@ -1127,7 +1127,7 @@ function _quiz_get_summary_text($quiz, $score) {
}
}
else if (trim($quiz->summary_pass) != '') {
$summary = (!empty($score_result)) ? $score_result : check_markup($quiz->summary_default, $quiz->format);
$summary = (!empty($score_result)) ? $score_result : check_markup($quiz->summary_default, $quiz->format, FALSE);
}
}
return $summary;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment