Stripe - tidy

This commit is contained in:
Marcus Hill
2023-02-07 21:43:55 +00:00
parent 068737c7d3
commit 827c9dcd65
3 changed files with 13 additions and 12 deletions

View File

@@ -532,9 +532,9 @@ function sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_
}
catch(Exception $e) {
// If we couldn't send the message return the error, so we can log it
// If we couldn't send the message return the error, so we can log it in the database (truncated)
error_log("ITFlow - Failed to send email: " . $mail->ErrorInfo);
return substr("Mailer Error: $mail->ErrorInfo",0,150)."...";
return substr("Mailer Error: $mail->ErrorInfo", 0, 150)."...";
}
}