]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-beg2.php
Frameset support entirely removed, TODO extended, minor template fix
[mailer.git] / inc / modules / member / what-beg2.php
index 6a250924d50386cbb8a8d4e38a79788f1d943eb9..d3ce12bbc0794456bc5b08352f8fec96ef01e264 100644 (file)
@@ -43,15 +43,14 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-ADD_DESCR("member", basename(__FILE__));
+ADD_DESCR("member", __FILE__);
 
 // Autopurge installed?
 $LAST = "%s"; $ONLINE = "";
-if (EXT_IS_ACTIVE("autopurge"))
-{
+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_inactive_since']);
+       $LAST   = " AND last_online >= (UNIX_TIMESTAMP() - %s)";
+       $ONLINE = $_CONFIG['ap_inactive_since'];
 }
 
 // Let's check if there are some points left we can "pay"...