if (EXT_IS_ACTIVE("autopurge"))
{
// Use last online stamp only when autopurge for inactive members is activated
- if (($_CONFIG['ap_in_since'] > 0) && ($_CONFIG['beg_active'] == 'Y'))
+ if (($_CONFIG['ap_in_since'] > 0) && ($_CONFIG['beg_active'] == "Y"))
{
// Okay, include last online timestamp
$whereStatement1 = "AND last_online >=";