Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-list_transfer.php
index a8458870004dffe3eee2cf9932b9183801759d67..bb42974a020a0bbe4da7942657d0925c21d9fb09 100644 (file)
@@ -46,7 +46,7 @@ addMenuDescription('admin', __FILE__);
 
 // We only need outgoing transfers
 $result = SQL_QUERY("SELECT userid, to_userid, trans_id, points, reason, time_trans FROM `{?_MYSQL_PREFIX?}_user_transfers_out` ORDER BY trans_id", __FILE__, __LINE__);
-$total = 0;
+$total = '0';
 if (SQL_NUMROWS($result) > 0) {
        // Output rows
        $OUT = ''; $SW = 2;
@@ -55,7 +55,7 @@ if (SQL_NUMROWS($result) > 0) {
                $content = array(
                        'sw'        => $SW,
                        'trans_id'  => $content['trans_id'],
-                       'stamp'     => generateDateTime($content['time_trans'], '3'),
+                       'stamp'     => generateDateTime($content['time_trans'], 3),
                        'from_link' => generateUserProfileLink($content['userid']),
                        'to_link'   => generateUserProfileLink($content['to_userid']),
                        'reason'    => wordwrap($content['reason'], 15),