Skip to content

Commit

Permalink
MDL-72074 qbank_usage: Oracle phpunit issues resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
safatshahin authored and ilyatregubov committed Nov 5, 2021
1 parent 8c00483 commit 7ee798f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/bank/usage/classes/helper.php
Expand Up @@ -76,7 +76,7 @@ public static function question_usage_sql(): string {
public static function get_question_attempts_count_in_quiz(int $questionid, int $quizid): int {
global $DB;
$sql = 'SELECT COUNT(qatt.id)
FROM {quiz} as qz
FROM {quiz} qz
JOIN {quiz_attempts} qa ON qa.quiz = qz.id
JOIN {question_usages} qu ON qu.id = qa.uniqueid
JOIN {question_attempts} qatt ON qatt.questionusageid = qu.id
Expand Down

0 comments on commit 7ee798f

Please sign in to comment.