// 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;
$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),