mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-63809 question: handling bad questions in question_has_capability_on
This commit is contained in:
parent
b195523758
commit
8e93e515ed
3 changed files with 59 additions and 11 deletions
|
@ -267,7 +267,7 @@ abstract class question_bank {
|
|||
global $DB;
|
||||
|
||||
if (self::$testmode) {
|
||||
// Evil, test code in production, but now way round it.
|
||||
// Evil, test code in production, but no way round it.
|
||||
return self::return_test_question_data($questionid);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue