Skip to content

Commit

Permalink
mail::send hook returns true in Mail.inc.php
Browse files Browse the repository at this point in the history
if (HookRegistry::call('Mail::send', array($this))) return true;
  • Loading branch information
terrasea2 authored Sep 26, 2018
1 parent 681af34 commit e88c30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/mail/Mail.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ function getBccString() {
* @return boolean
*/
function send() {
if (HookRegistry::call('Mail::send', array($this))) return;
if (HookRegistry::call('Mail::send', array($this))) return true;

// Replace all the private parameters for this message.
$mailBody = $this->getBody();
Expand Down

0 comments on commit e88c30e

Please sign in to comment.