Skip to content

Commit

Permalink
Merge pull request #1 from terrasea2/terrasea2-patch-1
Browse files Browse the repository at this point in the history
mail::send hook returns true in Mail.inc.php
  • Loading branch information
terrasea2 authored Sep 26, 2018
2 parents 681af34 + e88c30e commit dd8b2fe
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 dd8b2fe

Please sign in to comment.