mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-74299-master' of https://github.com/ericmerrill/moodle
This commit is contained in:
commit
d5e0a57333
@ -356,7 +356,7 @@ function question_delete_question($questionid): void {
|
||||
|
||||
$questionstocheck = [$question->id];
|
||||
|
||||
if ($question->parent !== 0) {
|
||||
if ($question->parent) {
|
||||
$questionstocheck[] = $question->parent;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user