Skip to content

Commit

Permalink
Fix 1.3 regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastsg committed Apr 20, 2024
1 parent 470e8b7 commit 7abee42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions classes/improviser.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ public function get_all_improvised_question_definitions(): array {
AND ctx.path LIKE :path
WHERE q.name LIKE :prefix
ORDER BY q.name";
$questions[] = $DB->get_records_sql($sql, [
$questions = array_merge($questions, $DB->get_records_sql($sql, [
'prefix' => '{IMPROV}%',
'path' => "%/$part",
]);
]));
}
return $questions;
}
Expand Down
2 changes: 1 addition & 1 deletion templates/question.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{{^instructor}}
<div class="save_row">
<div class="jazzquiz-save-question">
<button class="btn btn-primary">{{#str}}core, submit{{/str}}</button>
<button class="btn btn-primary">{{#str}}submit, core{{/str}}</button>
</div>
</div>
{{/instructor}}
Expand Down

0 comments on commit 7abee42

Please sign in to comment.