Fix unitialized table name var
authornielosz <nielosz@users.noreply.github.com>
Tue, 6 Sep 2016 09:47:15 +0000 (11:47 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Sep 2016 09:47:15 +0000 (11:47 +0200)
CRM/Mailing/BAO/Mailing.php

index f8e49bb0bcbd1da50783b4a432e9a7ceb7987132..c24fee82cacb7f5defea7dc66c02e38cd8bb80bd 100644 (file)
@@ -591,6 +591,7 @@ ORDER BY   i.contact_id, i.{$tempColumn}
                       LIMIT 1";
     }
     else {
+           $mg = CRM_Mailing_DAO_MailingGroup::getTableName();
       $query = "SELECT entity_id
                       FROM   $mg
                       WHERE  mailing_id = {$this->id}