Reset rewritten, SQL fixed, zeros are now numeric
[mailer.git] / inc / modules / member / what-transfer.php
index 0e9c148ae811478d6e9b9e6793f8583905bdb465..eac91e3a0b5b8c9492474b1d4a1f047497c9cdff 100644 (file)
@@ -362,7 +362,7 @@ case "list_out": // List only outgoing transactions
        }
 
        // Run the SQL command
-       $total = "0";
+       $total = 0;
        $result = SQL_QUERY_ESC($SQL, array($GLOBALS['userid']), __FILE__, __LINE__);
        if (SQL_NUMROWS($result) > 0)
        {
@@ -456,7 +456,7 @@ array($GLOBALS['userid'], $_CONFIG['transfer_max']), __FILE__, __LINE__);
        // Free memory
        SQL_FREERESULT($result);
 
-       $total = "0";
+       $total = 0;
        if (SQL_NUMROWS($result) > 0)
        {
                // Output rows