X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_bonus.php;h=7b02b64a92348de6184214e81487d95ff74ce458;hp=274ec1999ca2d85971051fb00307af2d71e1341c;hb=e521a48cf5d2a3090bd8d7a9cb21dfbc2dfda257;hpb=6d513e61a583f5366ab948be9e819343f726852b diff --git a/inc/modules/admin/what-list_bonus.php b/inc/modules/admin/what-list_bonus.php index 274ec1999c..7b02b64a92 100644 --- a/inc/modules/admin/what-list_bonus.php +++ b/inc/modules/admin/what-list_bonus.php @@ -70,7 +70,7 @@ if ($_CONFIG['bonus_active'] == "Y") { if (EXT_IS_ACTIVE("autopurge")) { // Use last online timestamp to keep inactive members away from here $LAST = " AND last_online >= %s"; - $ONLINE = bigintval(time() - $_CONFIG['ap_in_since']); + $ONLINE = bigintval(time() - $_CONFIG['ap_inactive_since']); } // Check if at least one is in the active rallye @@ -127,7 +127,7 @@ ORDER BY active_bonus DESC, last_online DESC, userid", } // Prepare constant for timemark - define('__AUTOPURGE_TIMEOUT', MAKE_DATETIME(time() - $_CONFIG['ap_in_since'], "2")); + define('__AUTOPURGE_TIMEOUT', MAKE_DATETIME(time() - $_CONFIG['ap_inactive_since'], "2")); // Load final template LOAD_TEMPLATE("admin_list_bonus");