]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_beg.php
Rewrote reset and some extensions:
[mailer.git] / inc / modules / admin / what-list_beg.php
index 48f249efbc8c8fb01cb13bc23e74ef63dfb8a632..0b543c1c1d6d02b350dcbd01fd48c324e9aeefa0 100644 (file)
@@ -48,7 +48,7 @@ if (isBegRallyeEnabled()) {
        if (isPostRequestElementSet('withdraw')) {
                // Okay, let's prepare...
                $curr = padLeftZero(getMonth() - 1);
-               updateConfiguration('last_month', $curr);
+               updateConfiguration('last_monthly', $curr);
                displayMessage('{--ADMIN_BEG_WITHDRAW_PREPARED--}');
        } // END - if
 
@@ -114,7 +114,7 @@ ORDER BY
                $content['total_points'] = $total;
 
                // Check if we need to display form or not with manuel withdraw
-               if (getLastMonth() == getMonth()) {
+               if (getLastMonthly() == getMonth()) {
                        // Load form
                        $content['withdraw_form'] = loadTemplate('admin_list_beg_form', TRUE);
                } else {