X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_payouts.php;h=b312d6533852f3a03abe0704279273b99026544f;hb=ea6cf3578750b2697b45cab74725396962b56ceb;hp=593c030a522ea36560b1f025d3728257ce43cffb;hpb=4c221b6350439b8f91db58f142f03f79014f2eaf;p=mailer.git
diff --git a/inc/modules/admin/what-list_payouts.php b/inc/modules/admin/what-list_payouts.php
index 593c030a52..b312d65338 100644
--- a/inc/modules/admin/what-list_payouts.php
+++ b/inc/modules/admin/what-list_payouts.php
@@ -150,7 +150,7 @@ LIMIT 1",
}
// Finally send mail
- sendEmail(getUserData('email'), '{--MEMBER_PAYOUT_ACCEPTED_SUBJECT--}', $message);
+ sendEmail(getUserData('userid'), '{--MEMBER_PAYOUT_ACCEPTED_SUBJECT--}', $message);
} else {
// Something goes wrong... :-(
$content = implode('
', $ret);
@@ -165,7 +165,7 @@ LIMIT 1",
$content = array(
'task' => $taskId,
'pid' => bigintval(getRequestParameter('pid')),
- 'user' => '' . translateGender(getUserData('gender')) . ' ' . getUserData('surname') . ' ' . getUserData('family') . '',
+ 'user' => '{%pipe,translateGender=' . getUserData('gender') . '%} ' . getUserData('surname') . ' ' . getUserData('family') . '',
);
// Load template
@@ -190,13 +190,13 @@ LIMIT 1",
displayMessage('{--ADMIN_PAYOUT_REJECTED_NOTIFIED--}');
// Finally send mail
- sendEmail(getUserData('email'), '{--MEMBER_PAYOUT_REJECTED_SUBJECT--}', $message);
+ sendEmail(getUserData('userid'), '{--MEMBER_PAYOUT_REJECTED_SUBJECT--}', $message);
} else {
// Prepare content
$content = array(
'task' => $taskId,
'pid' => bigintval(getRequestParameter('pid')),
- 'user' => '' . translateGender(getUserData('gender')) . ' ' . getUserData('surname') . ' ' . getUserData('family') . '',
+ 'user' => '{%pipe,translateGender=' . getUserData('gender') . '%} ' . getUserData('surname') . ' ' . getUserData('family') . '',
);
// Load template