X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=4a07785f7d8b9128c38affbd70bcc1f0109de9cd;hp=bb570f585aeee4b92253ce8aef94166df8c36d45;hb=c85ddc06cc16f2cd38ddd7d4c142a3f578bbab69;hpb=04fd04fb0015f81cec6b77b61bdae1d60ebf02ba diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index bb570f585a..4a07785f7d 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -873,5 +873,11 @@ function isInStringIgnoreCase ($needle, $haystack) { return (isInString(strtolower($needle), strtolower($haystack))); } +// Wrapper to check for if fatal errors where detected +function ifFatalErrorsDetected () { + // Just call the inner function + return (getTotalFatalErrors() > 0); +} + // [EOF] ?>