- Daily/weekly/monthly reset completely rewritten
[mailer.git] / inc / mails / bonus_mails.php
index 43a382dbeaf31dfa9cbfdde6117568561e386643..44ab9f571716d087775ad4a43df26278caf1ee1e 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['bonus_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?