X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_payouts.php;h=50980e5d691de22c4f53ae5a6c9b077b75c5aacc;hp=9a2541368f0884aa49b4d273e7f943e4c9d0d2c5;hb=222b9cab2b3fb3c8fb01ff524f5d1d7cfbcb61e7;hpb=ad30a667fd8abeb576c04026b62c2e8a29d86f52 diff --git a/inc/modules/admin/what-list_payouts.php b/inc/modules/admin/what-list_payouts.php index 9a2541368f..50980e5d69 100644 --- a/inc/modules/admin/what-list_payouts.php +++ b/inc/modules/admin/what-list_payouts.php @@ -265,16 +265,9 @@ ORDER BY if (empty($content['target_bank'])) $content['target_bank'] = '---'; } - // Remember data in array for the template - $content = array( - 'sw' => $SW, - 'ulink' => generateUserProfileLink($content['userid']), - 'ptype' => translateComma($content['payout_total']) . ' ' . $content['type'], - 'account' => $content['target_account'], - 'bank' => $content['target_bank'], - 'tstamp' => generateDateTime($content['payout_timestamp'], 2), - 'status' => $content['status'], - ); + // Add/Translate some data + $content['sw'] = $SW; + $content['payout_timestamp'] = generateDateTime($content['payout_timestamp'], 2); // Add row and switch color $OUT .= loadTemplate('admin_list_payouts_row', true, $content);