Skip to content

Commit

Permalink
MDL-22077 mod_forum: Grammatical and formatting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter committed Apr 4, 2019
1 parent 15dc885 commit e782253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod/forum/classes/post_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function definition() {
}

if ((empty($post->id) && $canreplyprivately) || (!empty($post) && !empty($post->privatereplyto))) {
// Only shwo the option to change private reply settings if this is a new post and the user can reply
// Only show the option to change private reply settings if this is a new post and the user can reply
// privately, or if this is already private reply, in which case the state is shown but is not editable.
$mform->addElement('checkbox', 'isprivatereply', get_string('privatereply', 'forum'));
$mform->addHelpButton('isprivatereply', 'privatereply', 'forum');
Expand Down
2 changes: 1 addition & 1 deletion mod/forum/classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ protected static function export_all_posts_in_discussion(int $userid, \context $
p.privatereplyto = 0
OR p.privatereplyto = :privatereplyrecipient
OR p.userid = :privatereplyauthor
)
)
";

$params = [
Expand Down

0 comments on commit e782253

Please sign in to comment.