Browse files

In email_to_user, change AddBCC back to AddAddress ... this was a han…


from the old bulk-email method, but now we just send one email at a time,
so it makes sense for the address to be visible again
  • Loading branch information...
martin committed Aug 4, 2002
1 parent 46b476c commit e84ef824113f212f0b42be912ea1ab0677ed394f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
@@ -1143,7 +1143,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a
$mail->FromName = "$from->firstname $from->lastname";
$mail->Subject = stripslashes($subject);
- $mail->AddBCC("$user->email","$user->firstname $user->lastname");
+ $mail->AddAddress("$user->email","$user->firstname $user->lastname");
$mail->WordWrap = 70; // set word wrap

0 comments on commit e84ef82

Please sign in to comment.