We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d99b9 commit d85743fCopy full SHA for d85743f
include/pages/admin/newsletter.inc.php
@@ -20,7 +20,7 @@
20
$iSuccess = 0;
21
foreach ($user->getAllAssoc() as $aData) {
22
$aUserNotificationSettings = $notification->getNotificationSettings($aData['id']);
23
- if ($aData['is_locked'] != 0 || $aUserNotificationSettings['newsletter'] != 1 || empty($aData['email']) continue;
+ if ($aData['is_locked'] != 0 || $aUserNotificationSettings['newsletter'] != 1 || empty($aData['email'])) continue;
24
$aData['subject'] = $_REQUEST['data']['subject'];
25
$aData['CONTENT'] = $_REQUEST['data']['content'];
26
if (!$mail->sendMail('newsletter/body', $aData, true)) {
0 commit comments