X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-user_contct.php;h=c2dfa2a4fbb46432ab6e69383b2f3e1481eba323;hb=349df4d9bd6fceac810f085d20847a7cdf37aec2;hp=5f0260ea7a80a7fe7de98c75bf469d48cd1ba488;hpb=fe8e4c180ec67e320be98e1e8dc1f9ea612c3636;p=mailer.git diff --git a/inc/modules/admin/what-user_contct.php b/inc/modules/admin/what-user_contct.php index 5f0260ea7a..c2dfa2a4fb 100644 --- a/inc/modules/admin/what-user_contct.php +++ b/inc/modules/admin/what-user_contct.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -45,19 +46,19 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addMenuDescription('admin', __FILE__); // Is a user id given? -if ((isGetRequestElementSet('userid')) && (bigintval(getRequestElement('userid')) > 0)) { +if ((isGetRequestParameterSet('userid')) && (bigintval(getRequestParameter('userid')) > 0)) { // Is a user account found? - if (fetchUserData(getRequestElement('userid'))) { + if (fetchUserData(getRequestParameter('userid'))) { // Load the data $content = getUserDataArray(); // Including user id - $content['userid'] = bigintval(getRequestElement('userid')); + $content['userid'] = bigintval(getRequestParameter('userid')); // Shall we send the email? if (isFormSent()) { // Insert text - $content['text'] = trim(secureString(postRequestElement('text'))); + $content['text'] = trim(secureString(postRequestParameter('text'))); // Send contact form out $message = loadEmailTemplate('member_contct', $content); @@ -69,7 +70,7 @@ if ((isGetRequestElementSet('userid')) && (bigintval(getRequestElement('userid') } } else { // Not found? - loadTemplate('admin_settings_saved', false, sprintf(getMessage('USER_ACCOUNT_404'), bigintval(getRequestElement('userid')))); + loadTemplate('admin_settings_saved', false, getMaskedMessage('USER_ACCOUNT_404', bigintval(getRequestParameter('userid')))); } } else { // Display selection box