if (getOutputMode() != 0) return;
// Create timemark from saved month
-$mark = mktime(0, 0, 0, getConfig('last_month'), date('d', time()), date('Y', time()));
+$mark = mktime(0, 0, 0, getConfig('last_month'), getDay(), getYear());
$sql = ''; $mode = '';
// Shall I sent activation or deactivation mail?