]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_beg.php
Typos fixed + keep fake modules hidden
[mailer.git] / inc / modules / admin / what-list_beg.php
index ad47803a44c7e7c983ea984420b41724fc042cb0..48f249efbc8c8fb01cb13bc23e74ef63dfb8a632 100644 (file)
@@ -47,8 +47,7 @@ if (isBegRallyeEnabled()) {
        // Shall I withdraw now?
        if (isPostRequestElementSet('withdraw')) {
                // Okay, let's prepare...
-               $curr = getMonth() - 1;
-               if (strlen($curr) == 1) $curr = '0' . $curr;
+               $curr = padLeftZero(getMonth() - 1);
                updateConfiguration('last_month', $curr);
                displayMessage('{--ADMIN_BEG_WITHDRAW_PREPARED--}');
        } // END - if