Skip to content

Commit

Permalink
message MDL-25240 switched personal messages from FORMAT_PLAIN to FOR…
Browse files Browse the repository at this point in the history
…MAT_MOODLE
  • Loading branch information
Andrew Davis committed Dec 9, 2010
1 parent 4e226c9 commit 323409c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
print_error('invalidsesskey');
}

$messageid = message_post_message($user1, $user2, $data->message, FORMAT_PLAIN, 'direct');
$messageid = message_post_message($user1, $user2, $data->message, FORMAT_MOODLE, 'direct');
if (!empty($messageid)) {
redirect($CFG->wwwroot . '/message/index.php?usergroup='.$usergroup.'&id='.$user2->id);
}
Expand Down

0 comments on commit 323409c

Please sign in to comment.