summaryrefslogtreecommitdiff
path: root/BitNewsletterMailer.php
diff options
context:
space:
mode:
Diffstat (limited to 'BitNewsletterMailer.php')
-rw-r--r--BitNewsletterMailer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/BitNewsletterMailer.php b/BitNewsletterMailer.php
index 3759451..a080f06 100644
--- a/BitNewsletterMailer.php
+++ b/BitNewsletterMailer.php
@@ -100,7 +100,7 @@ class BitNewsletterMailer {
FROM `".BIT_DB_PREFIX."mail_queue` mq
WHERE `sent_date` IS NULL AND `mail_error` IS NULL
ORDER BY `queue_date`,`user_id`,`email` ".$this->mDb->SQLForUpdate();
- if( $rs = $this->mDb->query( $query, NULL ) ) {
+ if( $rs = $this->mDb->query( $query ) ) {
while( $pick = $rs->fetchRow() ) {
$this->sendQueue( $pick );
$this->mDb->CompleteTrans();