X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fsponsor%2Fsettings.php;h=8ebaa2f87469560c977fb8fd70e0f896c6856efe;hb=5b11c23ffdb7d4ebf5875b2bb08f8a4129a8c792;hp=bd14fea02fa22858a827ee4fcdaf59bb59bff2be;hpb=90d3e5b1e4357e2e69a188cc209b5f7714c4459d;p=mailer.git diff --git a/inc/modules/sponsor/settings.php b/inc/modules/sponsor/settings.php index bd14fea02f..8ebaa2f874 100644 --- a/inc/modules/sponsor/settings.php +++ b/inc/modules/sponsor/settings.php @@ -105,10 +105,10 @@ if (sqlNumRows($result) == 1) { if (!empty($message)) { // Output message - $GLOBALS['sponsor_output'] = displayMessage($message, TRUE); + $GLOBALS['sponsor_output'] = returnMessage($message); } else { // No message generated - $GLOBALS['sponsor_output'] = displayMessage('{--SPONSOR_NO_MESSAGE_GENERATED--}', TRUE); + $GLOBALS['sponsor_output'] = returnMessage('{--SPONSOR_NO_MESSAGE_GENERATED--}'); } } else { // Make yes/no selection @@ -121,11 +121,11 @@ if (sqlNumRows($result) == 1) { } } else { // Locked or so? - $GLOBALS['sponsor_output'] = displayMessage('{%message,SPONSOR_ACCOUNT_FAILED=' . $content['status'] . '%}', TRUE); + $GLOBALS['sponsor_output'] = returnMessage('{%message,SPONSOR_ACCOUNT_FAILED=' . $content['status'] . '%}'); } } else { // Sponsor account not found - $GLOBALS['sponsor_output'] = displayMessage('{%message,SPONSOR_ACCOUNT_404=' . getSession('sponsor_id') . '%}', TRUE); + $GLOBALS['sponsor_output'] = returnMessage('{%message,SPONSOR_ACCOUNT_404=' . getSession('sponsor_id') . '%}'); } // Free memory