if (isPostRequestElementSet('withdraw')) {
// Okay, let's prepare...
$curr = padLeftZero(getMonth() - 1);
- updateConfiguration('last_month', $curr);
+ updateConfiguration('last_monthly', $curr);
displayMessage('{--ADMIN_BONUS_WITHDRAW_PREPARED--}');
} // END - if
$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_bonus_form', TRUE);
} else {