]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/bonus_mails.php
Caching of expensive PHP functions:
[mailer.git] / inc / mails / bonus_mails.php
index ce784a4652d944cd9bf347f478e76ea747ee8aa8..84f30688dcf8e13466ecf21cda5e23fe092d649a 100644 (file)
@@ -48,7 +48,7 @@ if (!defined('__SECURITY')) {
 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?