mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-34549 added IGNORE_MISSING to context call for bc
This commit is contained in:
parent
9455f48280
commit
2cdd5d8571
@ -708,7 +708,7 @@ class question_usage_by_activity {
|
||||
}
|
||||
|
||||
$quba = new question_usage_by_activity($record->component,
|
||||
context::instance_by_id($record->contextid));
|
||||
context::instance_by_id($record->contextid, IGNORE_MISSING));
|
||||
$quba->set_id_from_database($record->qubaid);
|
||||
$quba->set_preferred_behaviour($record->preferredbehaviour);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user