From: nielosz Date: Tue, 6 Sep 2016 09:47:15 +0000 (+0200) Subject: Fix unitialized table name var X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=19d9d5ab1c9cdcde491c6d3c66606abffdf12203;p=civicrm-core.git Fix unitialized table name var --- diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index f8e49bb0bc..c24fee82ca 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -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}