}
// Get current month (2 digits)
-$curr = date('m', time());
+$curr = getMonth();
if (($curr != getConfig('last_month')) && (getConfig('bonus_ranks') > 0) && (getOutputMode() != 1)) {
// Extension 'autopurge' is inactive or purging of inactive accounts is deactivated