if (($curr != getConfig('last_month')) && (getConfig('last_month') > 0) && (getConfig('beg_ranks') > 0) && ($GLOBALS['output_mode'] != 1)) {
// Extension "autopurge" is inactive or purging of inactive accounts is deactivated
$whereStatement1 = "";
- $whereStatement2 = bigintval(getConfig('beg_ranks'));
+ $whereStatement2 = getConfig(('beg_ranks'));
// Shall we exclude webmaster's own userid?
if ((getConfig('beg_include_own') != "Y") && (getConfig('beg_uid') > 0)) {
// Exclude it
- $whereStatement1 = sprintf(" AND userid != %s", bigintval(getConfig('beg_uid')));
+ $whereStatement1 = sprintf(" AND userid != %s", getConfig(('beg_uid')));
} // END - if
// Let's check if there are some points left we can "pay"...
// Use last online stamp only when autopurge for inactive members is activated
if ((getConfig('ap_inactive_since') > 0) && (getConfig('beg_active') == "Y")) {
// Okay, include last online timestamp
- $whereStatement1 .= sprintf(" AND last_online >= (UNIX_TIMESTAMP() - %s)", bigintval(getConfig('ap_inactive_since')));;
+ $whereStatement1 .= sprintf(" AND last_online >= (UNIX_TIMESTAMP() - %s)", getConfig(('ap_inactive_since')));;
} // END - if
} // END - if