mirror of https://github.com/BOINC/boinc.git
- fix typo in mass email script
This commit is contained in:
parent
bee911811a
commit
33e33abd08
|
@ -6739,3 +6739,8 @@ Charlie 9 Nov 2012
|
|||
mac_build/
|
||||
UpperCase2.xcodeproj/
|
||||
project.pbxproj
|
||||
|
||||
David 10 Nov 2012
|
||||
- fix typo in mass email script
|
||||
html/ops/
|
||||
mass_email.php
|
||||
|
|
|
@ -81,7 +81,7 @@ if ($receiver > 0) {
|
|||
$result = mysql_query($query);
|
||||
while ($user = mysql_fetch_object($result)) {
|
||||
// TODO: might want to also replace TOTAL_CREDIT, RAC, and similar.
|
||||
$body_to_send = str_replace(USERNAME, $user->name, $body);
|
||||
$body_to_send = str_replace("USERNAME", $user->name, $body);
|
||||
$body_to_send .= "\n\nTo opt out of future emails from ".PROJECT.", please edit your project preferences at ".URL_BASE."prefs.php?subset=project\n";
|
||||
$retval = send_email($user, $subject, $body_to_send);
|
||||
if ($retval) {
|
||||
|
|
Loading…
Reference in New Issue