Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / member / what-transfer.php
index 777d43cc00ac54f2b309b9dcfcb78264a3c9b8e7..3cb992daf5a08b8b0efdc23994ee567e8cd47747 100644 (file)
@@ -307,7 +307,7 @@ switch ($mode) {
                } // END - switch
 
                // Run the SQL command and set total points to zero
-               $totalPoints = 0;
+               $totalPoints = '0';
                $result = SQL_QUERY_ESC($sql, array(getMemberId()), __FILE__, __LINE__);
 
                // Do we have entries?
@@ -398,7 +398,7 @@ KEY (`party_userid`)
                // Free memory
                SQL_FREERESULT($result);
 
-               $total = 0;
+               $total = '0';
                if (SQL_NUMROWS($result) > 0) {
                        // Search for entries
                        $result = SQL_QUERY("SELECT `party_userid`, `trans_id`, `points`, `reason`, `time_trans`, `trans_type` FROM `{?_MYSQL_PREFIX?}_transfers_tmp` ORDER BY `time_trans` DESC",