X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-send_newsletter.php;h=2d9eaef8a6849a218017568102a7574902b902ab;hb=4b9887f734067dc52a1730468e25ba066036a3e1;hp=5458ff6e5ff4bf6c072297717785513602f61e68;hpb=04b69ac9f33369cbf654396c4a42cb1fff710ff4;p=mailer.git diff --git a/inc/modules/admin/what-send_newsletter.php b/inc/modules/admin/what-send_newsletter.php index 5458ff6e5f..2d9eaef8a6 100644 --- a/inc/modules/admin/what-send_newsletter.php +++ b/inc/modules/admin/what-send_newsletter.php @@ -54,7 +54,7 @@ WHERE `status`='CONFIRMED' AND `nl_receive`='Y' ORDER BY `userid` ASC", __FILE__, __LINE__); - if (SQL_NUMROWS($result) > 0) { + if (!SQL_HASZERONUMS($result)) { // Members are available so we can send out the newsletter! while ($content = SQL_FETCHARRAY($result)) { // Construct mail...