Skip to content

Commit

Permalink
MDL-65603 mod_forum: Add check for property existence
Browse files Browse the repository at this point in the history
  • Loading branch information
peterRd committed May 15, 2019
1 parent 56e9b6d commit d7ddc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@
'parent' => $post->parent,
'discussion' => $post->discussion,
'course' => $course->id,
'isprivatereply' => $post->isprivatereply
'isprivatereply' => $post->isprivatereply ?? false
) +

$pageparams +
Expand Down

0 comments on commit d7ddc44

Please sign in to comment.