]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Renamed function so it might be more understandable
[mailer.git] / inc / filters.php
index 5c538afb2a18aec4d0c1fb4cd54c6fb1f29066d4..0b07e67b7eec01c714a4e8d4944ab105e3c5f55b 100644 (file)
@@ -580,7 +580,7 @@ function FILTER_RUN_RESET_INCLUDES () {
                $currMonth = getMonth();
 
                // Has it changed?
-               if ((getConfig('last_month') != $currMonth) || (isMonthlyResetDebugEnabled())) {
+               if ((getLastMonth() != $currMonth) || (isMonthlyResetDebugEnabled())) {
                        // Include monthly reset scripts
                        mergeIncludePool('reset', getArrayFromDirectory('inc/monthly/', 'monthly_'));