]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-primera.php
More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / modules / member / what-primera.php
index 4088ab3b1ad618560546706f280c8a5f930d0f8e..e95ef39dff942442ab06395c9c1947e7ed31c56e 100644 (file)
@@ -96,7 +96,7 @@ if (!isGetRequestElementSet('mode')) {
                while ($data = SQL_FETCHARRAY($result)) {
                        // Prepare data for output
                        $rowContent = array(
-                               'stamp'         => generateDateTime($data['primera_timestamp'], '2'),
+                               'stamp'         => generateDateTime($data['primera_timestamp'], 2),
                                'points'                => translateComma($data['primera_amount']),
                                'acc'           => SQL_ESCAPE($data['primera_account']),
                                'status'                => PRIMERA_TRANSFER_STATUS($data['primera_type']),
@@ -190,7 +190,7 @@ if ((isFormSent()) && (isGetRequestElementSet('mode'))) {
                                        $locked = true;
 
                                        // Shall I 'pay' the referal points imidiately?
-                                       if (getConfig('ref_payout') == '0') {
+                                       if (getConfig('ref_payout') == 0) {
                                                // Yes, 'pay' it now
                                                $locked = false;
                                        } // END - if