Skip to content

Commit

Permalink
Fixed typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardHarrison committed May 9, 2022
1 parent a18cf20 commit fa36fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InjectionApi/src/Core/SendValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static function hasMessageBody($message)
$htmlBody = $message->htmlBody;
if (!is_string($htmlBody) || ctype_space($htmlBody) || $htmlBody == "") return false;
$textBody = $message->plainTextBody;
if (!is_string($htmlBody) || ctype_space($htmlBody) || $htmlBody == "") return true;
if (!is_string($textBody) || ctype_space($textBody) || $textBody == "") return false;
return true;
}

Expand Down

0 comments on commit fa36fd2

Please sign in to comment.