X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_bonus.php;h=14640c1a2b67c09150fcb728d053617937dabe05;hp=cb010de05e74c2545ff4d830b30cc96be63a2297;hb=ffe213c8e3f85119ddd5544214d0de9ecb833d98;hpb=0b0ad98572a523c99f9a7843edfc0feeca4b2a10 diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index cb010de05e..14640c1a2b 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -58,7 +58,7 @@ if (($curr != getConfig('last_month')) && (getConfig('bonus_ranks') > 0) && (get // Shall I keep inactive members away from here? (mostly wanted in an "active-rallye" ...) if (isExtensionActive('autopurge')) { // Use last online stamp only when autopurge for inactive members is activated - if (getConfig('ap_inactive_since') > 0) { + if (getApInactiveSince() > 0) { // Okay, include last online timestamp $whereStatement1 = "WHERE `status`='CONFIRMED' AND `last_online` >= (UNIX_TIMESTAMP() - {?ap_inactive_since?})"; } // END - if