X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-lock_sponsor.php;h=ca5e31662449e5f6e12844495242d6919149c2a9;hb=0fada672e2066043b76ed5d57f852f451a49a3a3;hp=0aedbe82b95bdad7e03d1bd522414ff8a6d3eedb;hpb=c4823d28fd0bd22250b16d73f2034f36fc54abda;p=mailer.git diff --git a/inc/modules/admin/what-lock_sponsor.php b/inc/modules/admin/what-lock_sponsor.php index 0aedbe82b9..ca5e316624 100644 --- a/inc/modules/admin/what-lock_sponsor.php +++ b/inc/modules/admin/what-lock_sponsor.php @@ -55,7 +55,7 @@ if (isGetRequestParameterSet('id')) { if (($content['status'] == 'CONFIRMED') || ($content['status'] == 'LOCKED')) { // Transfer data to constants $content['id'] = bigintval(getRequestParameter('id')); - $content['reason'] = secureString(postRequestParameter('reason')); + $content['reason'] = postRequestParameter('reason'); if (isFormSent()) { // Create messages @@ -107,7 +107,7 @@ if (isGetRequestParameterSet('id')) { } } else { // Sponsor not found - $message = getMaskedMessage('ADMIN_SPONSOR_404', bigintval(getRequestParameter('id'))); + $message = '{%message,ADMIN_SPONSOR_404=' . bigintval(getRequestParameter('id')) . '%}'; } // Free result @@ -119,7 +119,7 @@ if (isGetRequestParameterSet('id')) { if (!empty($message)) { // Output message - loadTemplate('admin_settings_saved', false, $message); + displayMessage($message); } // END - if // [EOF]