Permalink
Browse files

message MDL-25240 switched personal messages from FORMAT_PLAIN to FOR…

…MAT_MOODLE
  • Loading branch information...
Andrew Davis
Andrew Davis committed Dec 9, 2010
1 parent 4e226c9 commit 323409c54cee5ad312e0a9340f3dc4fd4029881b
Showing with 1 addition and 1 deletion.
  1. +1 −1 message/index.php
View
@@ -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);
}

0 comments on commit 323409c

Please sign in to comment.