X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_bonus.php;h=2605fa99e4bcb39782f32224b60b481caa67f95a;hb=e7627208baf6669248953b5b07aa67d0724dea75;hp=9e3167b567516feff326271b66ed095b0a9b8a9c;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/modules/admin/what-list_bonus.php b/inc/modules/admin/what-list_bonus.php index 9e3167b567..2605fa99e4 100644 --- a/inc/modules/admin/what-list_bonus.php +++ b/inc/modules/admin/what-list_bonus.php @@ -1,7 +1,7 @@ 0) { // List users - $OUT = '';$SW = 2; $cnt = 1; $total = 0; + $OUT = '';$SW = 2; $cnt = 1; $total = '0'; while ($content = SQL_FETCHARRAY($result)) { // Add total points $total += $content['points']; @@ -103,7 +103,7 @@ ORDER BY `points` DESC, `last_online` DESC, `userid` ASC", $content['email'] = generateEmailLink($content['email'], 'user_data'); $content['gender'] = translateGender($content['gender']); $content['points'] = translateComma($content['points']); - $content['last_online'] = generateDateTime($content['last_online'], '2'); + $content['last_online'] = generateDateTime($content['last_online'], 2); $content['sw'] = $SW; $content['win1'] = $WIN1; $content['win2'] = $WIN2; @@ -128,7 +128,7 @@ ORDER BY `points` DESC, `last_online` DESC, `userid` ASC", // Prepare constant for timemark if (isExtensionActive('autopurge')) { - $content['autopurge_timeout'] = generateDateTime(time() - getConfig('ap_inactive_since'), '2'); + $content['autopurge_timeout'] = generateDateTime(time() - getConfig('ap_inactive_since'), 2); } else { $content['autopurge_timeout'] = loadTemplate('admin_settings_saved', true, sprintf(getMessage('EXTENSION_PROBLEM_NOT_INSTALLED'), 'autopurge')); }