]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-primera.php
Comments fixed, ext-network continued, fix for mod stats:
[mailer.git] / inc / modules / member / what-primera.php
index 77bcf6455b7ae910f25a2356a100ef4115675937..2a1322dbee11f5106ae0d3a870aa66bec457b8d9 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/09/2008 *
- * ================                             Last change: 09/09/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 09/09/2008 *
+ * ===================                          Last change: 09/09/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-primera.php                                 *
@@ -89,12 +89,12 @@ if (!isGetRequestElementSet('mode')) {
                while ($data = SQL_FETCHARRAY($result)) {
                        // Prepare data for output
                        $rowContent = array(
-                               'stamp'         => generateDateTime($data['primera_timestamp'], 2),
-                               'points'                => translateComma($data['primera_amount']),
-                               'acc'           => SQL_ESCAPE($data['primera_account']),
-                               'status'                => PRIMERA_TRANSFER_STATUS($data['primera_type']),
-                               'raw_type'      => strtolower($data['primera_type']),
-                               'sw'                    => $SW,
+                               'primera_timestamp' => generateDateTime($data['primera_timestamp'], 2),
+                               'points'            => translateComma($data['primera_amount']),
+                               'primera_account'   => SQL_ESCAPE($data['primera_account']),
+                               'status'            => PRIMERA_TRANSFER_STATUS($data['primera_type']),
+                               'raw_type'          => strtolower($data['primera_type']),
+                               'sw'                => $SW,
                        );
 
                        // Load row template
@@ -178,7 +178,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