// Add description as navigation point
addYouAreHereLink('admin', __FILE__);
-if (isFormSent()) {
+if (isFormSent('save_config')) {
// Replace german decimal comma with computer decimal dot
convertCommaToDotInPostDataArray(array('login_bonus', 'turbo_bonus', 'bonus_ref', 'bonus_order', 'bonus_notify_points'));
setConfigEntry('bonus_disable_notify', postRequestElement('bonus_disable_notify'));
} else {
// Transfer options to template
- $content['bonus_userid'] = addMemberSelectionBox(getBonusUserid(), false, true, true, 'bonus_userid');
+ $content['bonus_userid'] = addMemberSelectionBox(getBonusUserid(), FALSE, TRUE, TRUE, 'bonus_userid');
// Initialize array for the points list
$RANKS = explode(';', getTurboRates());
$content['wait_selection'] = createConfigurationTimeSelections('bonus_notify_wait', 'ms' );
// Load final template
- loadTemplate('admin_config_bonus', false, $content);
+ loadTemplate('admin_config_bonus', FALSE, $content);
}
// [EOF]