X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-user_contct.php;h=36c68abe8c0f01e7d669f83025ac137366e975e0;hb=8d0ed5ed9a9ca0e07b9582f2311b44bdcc5a95ea;hp=93ed6696dfb1e8c2c0812fbb9937a5b8cb81880d;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git diff --git a/inc/modules/admin/what-user_contct.php b/inc/modules/admin/what-user_contct.php index 93ed6696df..36c68abe8c 100644 --- a/inc/modules/admin/what-user_contct.php +++ b/inc/modules/admin/what-user_contct.php @@ -56,7 +56,7 @@ if ((isGetRequestParameterSet('userid')) && (bigintval(getRequestParameter('user // Shall we send the email? if (isFormSent()) { // Insert text - $content['text'] = trim(secureString(postRequestParameter('text'))); + $content['text'] = postRequestParameter('text'); // Load email template $message = loadEmailTemplate('member_contct', $content, getRequestParameter('userid')); @@ -65,14 +65,14 @@ if ((isGetRequestParameterSet('userid')) && (bigintval(getRequestParameter('user sendEmail($content['email'], '{--ADMIN_CONTACT_USER_SUBJECT--}', $message); // Display message - loadTemplate('admin_settings_saved', false, '{--ADMIN_USER_CONTACTED--}'); + displayMessage('{--ADMIN_USER_CONTACTED--}'); } else { // Load contact form template loadTemplate('admin_contct_user_form', false, $content); } } else { // Not found? - loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_USER_ACCOUNT_404', bigintval(getRequestParameter('userid')))); + displayMessage(getMaskedMessage('ADMIN_USER_ACCOUNT_404', bigintval(getRequestParameter('userid')))); } } else { // Display selection box