X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-payout.php;h=50fdef04ef188dabc33b88367882409397589c43;hb=3c0c6ad28a250c08b3fe8b166c589d0d49441ad3;hp=763187ed6a25ceb31657524be57323d2a3a976fb;hpb=916bba4f00ee924f0d88b8fc273dee5bfb798aed;p=mailer.git diff --git a/inc/modules/member/what-payout.php b/inc/modules/member/what-payout.php index 763187ed6a..50fdef04ef 100644 --- a/inc/modules/member/what-payout.php +++ b/inc/modules/member/what-payout.php @@ -1,6 +1,6 @@ target_account,bank->target_bank in templates $content = array( - 'sw' => $SW, - 'acc' => $content['target_account'], - 'points' => translateComma($content['payout_total']) . ' ' . $content['type'], - 'bank' => $content['target_bank'], - 'stamp' => generateDateTime($content['payout_timestamp'], 2), - 'status' => $content['status'] + 'sw' => $SW, + 'target_account' => $content['target_account'], + 'points' => translateComma($content['payout_total']) . ' ' . $content['type'], + 'target_bank' => $content['target_bank'], + 'payout_timestamp' => generateDateTime($content['payout_timestamp'], 2), + 'status' => $content['status'] ); // Load row template and switch colors @@ -179,10 +178,10 @@ ORDER BY // Calculate maximum value $max = round($totalPoints * $content['rate'] - 0.5); - $PAY_MAX = 0; + $PAY_MAX = '0'; // Calulcate points from submitted amount - $points = 0; + $points = '0'; if (isPostRequestElementSet('payout')) { $points = bigintval(postRequestElement('payout')) / $content['rate']; $PAY_MAX = $max / $content['rate'];