X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=e04576056a34b1076468db2d895d1955ff75b1f5;hp=645cffbbe1e00f0e8fe26989ed1b432604406ca1;hb=65ba529135f31dfd36b4471588f45f8687cc1aca;hpb=8b5a15ff9a1fdce86a8d0b5613d4f15c74b71de3 diff --git a/inc/functions.php b/inc/functions.php index 645cffbbe1..e04576056a 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -186,6 +186,11 @@ function initFatalMessages () { $GLOBALS['fatal_messages'] = array(); } +// Getter for whole fatal error messages +function getFatalArray () { + return $GLOBALS['fatal_messages']; +} + // Add a fatal error message to the queue array function addFatalMessage ($message, $extra="") { if (is_array($extra)) {