]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_beg.php
A lot calls saved, expression language rewritten:
[mailer.git] / inc / monthly / monthly_beg.php
index 63440b567a33a198e2963cc3f88b5777ded38934..2e664ec27bf1bec0968d47914ffdba7ea8d613ce 100644 (file)
@@ -65,7 +65,7 @@ if (($curr != getConfig('last_month')) && (getConfig('last_month') > 0) && (getC
        // Let's check if there are some points left we can 'pay'...
        if (isExtensionActive('autopurge')) {
                // Use last online stamp only when autopurge for inactive members is activated
-               if ((getConfig('ap_inactive_since') > 0) && (getConfig('beg_active') == 'Y')) {
+               if ((getApInactiveSince() > 0) && (getConfig('beg_active') == 'Y')) {
                        // Okay, include last online timestamp
                        $whereStatement1 .= " AND `last_online` >= (UNIX_TIMESTAMP() - {?ap_inactive_since?})";
                } // END - if