Can't save settings
koichirose - August 27, 2009 - 20:00
| Project: | Invite Discount |
| Version: | 6.x-1.2-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | piggom |
| Status: | active |
Jump to:
Description
As the title says, I can't save any setting for the Invite Discount module.
It says "configuration saved" but nothing is actually saved.
Using Drupal 6.13, Ubercart 2.0RC6, bunch of other modules.

#1
#2
I am encountering this bug as well. Also when I try to activate a discount by inviting someone and then accepting the invitation, the discount does not get created.
#3
I will work on this after finishing my freelance works sorry. But you are welcome to submit patches.
#4
+1 subscrbing
#5
Yeah, this is a pretty big issue that I am encountering as well.
#6
hi,
it work if you don't use return system_settings_form($form) in function uc_invite_discount_admin_settings()
uc_invite_discount.module , line 296
change:
return system_settings_form($form);
to:
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Save'),
);
return $form;