X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-admins_contct.php;h=c6341ea4f1bef92d40e9ab0081f8256d73827147;hb=22a33b87f9894a94efb71de7630f12129e34f83b;hp=f004def6c3b6fa626401292792f1382d2a9718fe;hpb=811c2a74188a97591fb05ed1dd3d1929b8bc23aa;p=mailer.git diff --git a/inc/modules/admin/what-admins_contct.php b/inc/modules/admin/what-admins_contct.php index f004def6c3..c6341ea4f1 100644 --- a/inc/modules/admin/what-admins_contct.php +++ b/inc/modules/admin/what-admins_contct.php @@ -38,7 +38,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { } // Add description as navigation point -ADD_DESCR("admin", basename(__FILE__)); +ADD_DESCR("admin", __FILE__); if ((isset($_POST['ok'])) && (!empty($_GET['admin']))) { // Send mail or message @@ -48,7 +48,7 @@ if ((isset($_POST['ok'])) && (!empty($_GET['admin']))) { SEND_ADMIN_MESSAGE($_GET['admin'], ADMINS_MSG_FROM_ADMIN, $msg); } else { // Load admin's email address - $email = GET_ADMIN_EMAIL(GET_ADMIN_LOGIN(bigintval($_GET['admin']))); + $email = GET_ADMIN_EMAIL(bigintval($_GET['admin'])); // Load email template and send the mail to the admin $msg = LOAD_EMAIL_TEMPLATE("admins_mail_contct_admin", $_POST['text'], "0");