]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/beg_mails.php
Caching of expensive PHP functions:
[mailer.git] / inc / mails / beg_mails.php
index 29d9c589c598bee96fed3456fb9b5ce68bd889d4..148404fff0e5cd8be5618739d440663a18a9294b 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?