Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
wp-civicrm-mailer
Commits
0f5f54ee
Commit
0f5f54ee
authored
Feb 11, 2020
by
bgm
Committed by
Aegir user
Feb 11, 2020
Browse files
Fix invalid function call causing fatal error.
parent
35864520
Changes
1
Hide whitespace changes
Inline
Side-by-side
civicrm_mailer.http.class.php
View file @
0f5f54ee
...
...
@@ -62,7 +62,7 @@ class CivicrmMailerHTTPMailer extends \PHPMailer
// The user might not exist.
// Find a matching email in CiviCRM, prioritize primary emails.
if
(
empty
(
$contact
))
{
$dao
=
CRM_Core_DAO
::
executeQuery
(
'SELECT contact_id FROM civicrm_email WHERE email = %1 AND contact_id IS NOT NULL ORDER BY is_primary DESC'
,
[
$dao
=
\
CRM_Core_DAO
::
executeQuery
(
'SELECT contact_id FROM civicrm_email WHERE email = %1 AND contact_id IS NOT NULL ORDER BY is_primary DESC'
,
[
1
=>
[
$recipient
,
'String'
],
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment