remove invalid SQL character
authorMichael Z Daryabeygi <daryabeygi@ginkgostreet.com>
Thu, 8 Sep 2016 14:49:54 +0000 (10:49 -0400)
committerGitHub <noreply@github.com>
Thu, 8 Sep 2016 14:49:54 +0000 (10:49 -0400)
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

index c8e3d289fd5a3614d99db273ee384aeed2c2cd87..9377e405f2acc89bcb707d0247fed0e8001afccd 100644 (file)
@@ -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);