X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-support.php;h=44276318a92168850bdb5bab59a23df119ecd469;hb=b8a6f8012aa3509d8e0f8fd078e044f20e80707a;hp=b6c9d742c6b53cb85abc84bf188e517538b5aabd;hpb=9f6c30cc0e06098171d773d671292081ecee3d29;p=mailer.git diff --git a/inc/modules/member/what-support.php b/inc/modules/member/what-support.php index b6c9d742c6..44276318a9 100644 --- a/inc/modules/member/what-support.php +++ b/inc/modules/member/what-support.php @@ -1,7 +1,7 @@ = '0.4.1') { $a_tpl = 'admin_support-' . postRequestElement('qsummary'); } else { - $message_a = loadEmailTemplate('admin_support-' . postRequestElement('qsummary'), array('text' => postRequestElement('qdetails')), getUserId()); + $message_a = loadEmailTemplate('admin_support-' . postRequestElement('qsummary'), array('text' => postRequestElement('qdetails')), getMemberId()); } - $message_m = loadEmailTemplate('member_support-' . postRequestElement('qsummary'), array('text' => postRequestElement('qdetails')), getUserId()); + $message_m = loadEmailTemplate('member_support-' . postRequestElement('qsummary'), array('text' => postRequestElement('qdetails')), getMemberId()); // Select right subject switch (postRequestElement('qsummary')) { @@ -82,13 +82,13 @@ if ((!isFormSent()) || (!isPostRequestElementSet(('qsummary')))) { } // END - switch // Send mail to admin - sendAdminNotification($subj_a, $a_tpl, array('text' => postRequestElement('qdetails')), getUserId()); + sendAdminNotification($subj_a, $a_tpl, array('text' => postRequestElement('qdetails')), getMemberId()); // Send mail to user - sendEmail(getUserId(), $subj_m, $message_m); + sendEmail(getMemberId(), $subj_m, $message_m); // Drop a message in the admin's area - createNewTask($subj_a, postRequestElement('qsummary') . ' : ' . postRequestElement('qdetails'), 'SUPPORT_MEMBER', getUserId()); + createNewTask($subj_a, postRequestElement('qsummary') . ' : ' . postRequestElement('qdetails'), 'SUPPORT_MEMBER', getMemberId()); // Form sent loadTemplate('member_support_contcted');