]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_beg.php
Caching of expensive PHP functions:
[mailer.git] / inc / monthly / monthly_beg.php
index a509f4d834f83ee8b7fab766e4a349b592c23185..63440b567a33a198e2963cc3f88b5777ded38934 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Get current month (2 digits)
-$curr = date('m', time());
+$curr = getMonth();
 
 // Check if month is done
 if (($curr != getConfig('last_month')) && (getConfig('last_month') > 0) && (getConfig('beg_ranks') > 0) && (getOutputMode() != 1)) {