Attempt to fix the Doctrine issue on production server.
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -470,7 +470,7 @@ function send_triggered_notification($uid = 0, $trigger = 'NO_TRIGGER', $args = | ... | @@ -470,7 +470,7 @@ function send_triggered_notification($uid = 0, $trigger = 'NO_TRIGGER', $args = |
| 470 | ); | 470 | ); |
| 471 | 471 | ||
| 472 | $sentSuccessfully = false; | 472 | $sentSuccessfully = false; |
| 473 | if (CBV\system_can_send_emails()) { | 473 | if (CBV\system_can_send_emails_using_wpdb()) { |
| 474 | $response = \wpMandrill::mail($toEmail, $subject, !empty($html) ? $html : $altText, [], $attachments); | 474 | $response = \wpMandrill::mail($toEmail, $subject, !empty($html) ? $html : $altText, [], $attachments); |
| 475 | if ( | 475 | if ( |
| 476 | is_array($response) | 476 | is_array($response) | ... | ... |
-
Please register or sign in to post a comment