Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…gover

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...
commit e84ef824113f212f0b42be912ea1ab0677ed394f 1 parent 46b476c
martin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/moodlelib.php
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.