// Shall I withdraw now?
if (isPostRequestElementSet('withdraw')) {
// Okay, let's prepare...
- $curr = padLeftZero(getMonth() - 1);
+ $curr = padLeftZero(getMonth() - 1, 2);
updateConfiguration('last_monthly', $curr);
displayMessage('{--ADMIN_BONUS_WITHDRAW_PREPARED--}');
} // END - if
$content['withdraw_form'] = loadTemplate('admin_list_bonus_form', TRUE);
} else {
// Display message "no manual withdraw possible"
- $content['withdraw_form'] = displayErrorMessage('{--ADMIN_BONUS_ALREADY_WITHDRAW--}', TRUE);
+ $content['withdraw_form'] = returnErrorMessage('{--ADMIN_BONUS_ALREADY_WITHDRAW--}');
}
// Prepare constant for timemark