mirror of
https://github.com/moodle/moodle.git
synced 2025-03-24 09:30:17 +01:00
MDL-65603 mod_forum: Add check for property existence
This commit is contained in:
parent
56e9b6d67d
commit
d7ddc44fbd
@ -746,7 +746,7 @@ $mformpost->set_data(
|
||||
'parent' => $post->parent,
|
||||
'discussion' => $post->discussion,
|
||||
'course' => $course->id,
|
||||
'isprivatereply' => $post->isprivatereply
|
||||
'isprivatereply' => $post->isprivatereply ?? false
|
||||
) +
|
||||
|
||||
$pageparams +
|
||||
|
Loading…
x
Reference in New Issue
Block a user