- Daily/weekly/monthly reset completely rewritten
[mailer.git] / inc / mails / beg_mails.php
index 44991df0be5c6910a26d099bca5bc214565f8fdd..ca5adfa470f68917aca8f22411c38718aeedd089 100644 (file)
@@ -47,7 +47,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 if ($CSS == 1) return;
 
 // Create timemark from saved month
-$mark = mktime(0, 0, 0, $_CONFIG['beg_month'], date("d", time()), date('Y', time()));
+$mark = mktime(0, 0, 0, $_CONFIG['last_month'], date("d", time()), date('Y', time()));
 $SQL = ""; $MODE = "";
 
 // Shall I sent activation or deactivation mail?