// Do not execute when script is in CSS mode
global $CSS;
-if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+if ($CSS == 1) return;
// Create timemark from saved month
$mark = mktime(0, 0, 0, $_CONFIG['last_month'], date("d", time()), date('Y', time()));
{
// Send normal notification mail to the members
$MSG = LOAD_EMAIL_TEMPLATE("beg_".$MODE."_notify", array(), $uid);
- SEND_EMAIL($email, $SUBJECT, $MSG);
+ SEND_EMAIL($uid, $SUBJECT, $MSG);
}
}