MDL-65603 mod_forum: Add check for property existence
This commit is contained in:
+1
-1
@@ -746,7 +746,7 @@ $mformpost->set_data(
|
||||
'parent' => $post->parent,
|
||||
'discussion' => $post->discussion,
|
||||
'course' => $course->id,
|
||||
'isprivatereply' => $post->isprivatereply
|
||||
'isprivatereply' => $post->isprivatereply ?? false
|
||||
) +
|
||||
|
||||
$pageparams +
|
||||
|
||||
Reference in New Issue
Block a user