X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-unconfirmed.php;h=12ecfd5da861333b2b2eda5a701fd4ddd9f8c860;hb=c26fc70114d95f81368b82b0bab77285dabcb1d9;hp=287077856b2ce8c3cc74c7f312bdecf947d2f97f;hpb=d3c4fdd9bfab35389e1a5ff48f3952d527c7b4bb;p=mailer.git diff --git a/inc/modules/member/what-unconfirmed.php b/inc/modules/member/what-unconfirmed.php index 287077856b..12ecfd5da8 100644 --- a/inc/modules/member/what-unconfirmed.php +++ b/inc/modules/member/what-unconfirmed.php @@ -1,14 +1,14 @@ 0) { // Please confirm these mails! - $sum = 0; $OUT = ''; $SW = 2; + $sum = '0'; $OUT = ''; $SW = 2; // Init content $content = array(); @@ -205,15 +204,14 @@ LIMIT 1", // Prepare data for template $content = array( - 'sw' => $SW, - 'userid' => getUserId(), - 'data' => bigintval($DATA), - 'type' => $type, - 'subject' => $subject, - 'sender' => $sender, - 'stamp' => generateDateTime($timestamp, 2), - 'cat' => getCategory($cat), - 'points' => translateComma($pay), + 'sw' => $SW, + 'userid' => getMemberId(), + 'data' => bigintval($DATA), + 'type' => $type, + 'subject' => $subject, + 'sender' => $sender, + 'timestamp' => generateDateTime($timestamp, 2), + 'points' => $pay, ); // Load row template @@ -252,7 +250,7 @@ LIMIT 1", SQL_FREERESULT($result); // Remember total points - $content['total_points'] = translateComma($sum); + $content['total_points'] = $sum; // Remember all generated rows in constant for the template $content['rows'] = $OUT;