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
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

piggom - August 27, 2009 - 20:14
Assigned to:Anonymous» piggom

#2

sxxxydan - September 8, 2009 - 21:01

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

piggom - September 8, 2009 - 21:06

I will work on this after finishing my freelance works sorry. But you are welcome to submit patches.

#4

anil614sagar - September 18, 2009 - 09:49

+1 subscrbing

#5

jhack31 - October 12, 2009 - 04:34

Yeah, this is a pretty big issue that I am encountering as well.

#6

jerome legendre - October 21, 2009 - 19:56

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;

 
 

Drupal is a registered trademark of Dries Buytaert.