Skip to content

Commit

Permalink
fix for MDL-7696, adding addslash for bulk messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Dec 7, 2006
1 parent 3c98b96 commit a75dde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/messageselect.php
Expand Up @@ -86,7 +86,7 @@
$good = 1;
$teachers = array();
foreach ($SESSION->emailto[$id] as $user) {
$good = $good && message_post_message($USER,$user,$messagebody,$format,'direct');
$good = $good && message_post_message($USER,$user,addslashes($messagebody),$format,'direct');
if ($user->teacher) {
$teachers[] = $user->id;
}
Expand Down

0 comments on commit a75dde8

Please sign in to comment.