MDL-74299 question: Don't use a strict comparison for DB objects

This commit is contained in:
Eric Merrill
2022-03-23 19:20:37 -04:00
parent 25f22a3cb7
commit 7fc6677853
+1 -1
View File
@@ -357,7 +357,7 @@ function question_delete_question($questionid) {
$questionstocheck = [$question->id];
if ($question->parent !== 0) {
if ($question->parent) {
$questionstocheck[] = $question->parent;
}