bug with smf 1.1.3 newsletter sending to wrong people; fix inside

Started by dcmouser, July 10, 2007, 08:21:09 PM

Previous topic - Next topic

dcmouser

Line 326 in ManageNews.php is:
$condition = '
when i think it should be something like:
$condition = $condition . '

The change is needed in order for the query to obey the option to only include members who have notifications enabled, see line 295-297 above:
// Opt-out?
$condition = isset($_POST['email_force']) ? '' : '
AND mem.notifyAnnouncements = 1';


Without the change, this setting is ignored.
proud member of donationcoder.com (forum)

pongsak

QuoteLine 326 in ManageNews.php is:
Code:

   $condition = '

I didn't see that line in ManageNews.php. 1.1.3
smf 1.1.2 with dilbermc themes.
> 50 mods installed.

dcmouser

Its in ManageNews.php from smf_1-1-3_upgrade.tgz downloaded today.
proud member of donationcoder.com (forum)

SleePy

I added it to our bug tracker.

Thanks for the information.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

cferd

I can't get newsletters to go to people who've turned off notifications with the existing code. Under what conditions exactly will newsletters go to wrong people?

Thanks.

Advertisement: