From 74c88b08dca7f78573dc312224536b82ccf5e01a Mon Sep 17 00:00:00 2001 From: Michael Z Daryabeygi Date: Thu, 8 Sep 2016 10:49:54 -0400 Subject: [PATCH] remove invalid SQL character resolve issue posted to SE: https://civicrm.stackexchange.com/questions/12647/what-causes-the-sms-system-to-stop-working-and-throw-db-errors --- CRM/Mailing/BAO/MailingJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Mailing/BAO/MailingJob.php b/CRM/Mailing/BAO/MailingJob.php index c8e3d289fd..9377e405f2 100644 --- a/CRM/Mailing/BAO/MailingJob.php +++ b/CRM/Mailing/BAO/MailingJob.php @@ -544,7 +544,7 @@ VALUES (%1, %2, %3, %4, %5, %6, %7) AND $ebTable.id IS null AND ( contact_a.is_opt_out = 0 OR contact_a.do_not_sms = 0 ) - $aclWhere}"; + $aclWhere"; } $eq->query($query); -- 2.25.1