]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-send_newsletter.php
Functions imported, some dev-scripts added
[mailer.git] / inc / modules / admin / what-send_newsletter.php
index 2db5f51889357fdc7fc4b8853c01bf37b744939e..f18caeab52bc8b1655e30476b0564937543ee700 100644 (file)
@@ -43,7 +43,7 @@ ADD_DESCR("admin", __FILE__);
 if (isset($_POST['ok'])) {
        $result = SQL_QUERY("SELECT userid, email
 FROM `{!_MYSQL_PREFIX!}_user_data`
-WHERE status='CONFIRMED' AND nl_receive='Y'
+WHERE `status`='CONFIRMED' AND nl_receive='Y'
 ORDER BY userid ASC", __FILE__, __LINE__);
        if (SQL_NUMROWS($result) > 0) {
                // Members are available so we can send out the newsletter!