Error when generating codes

julient - June 19, 2009 - 22:54
Project:Registration Code
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I tried generating a code and I got the following error every time:
user warning: Unknown column 'is_onetime' in 'field list' query: INSERT INTO regcode (created,begins,expires,category,code,is_active,is_onetime) VALUES (NOW(), NULL, NULL, "Test", "123456", 1, 0) in /Users/julien/Sites/dev.clubesf.com/httpdocs/sites/all/modules/regcode/regcode.api.php on line 120.
Is there something to edit in the code to fix it?

#1

aidanlis - June 21, 2009 - 21:44
Status:active» fixed

Just change is_onetime to maxuses on line 120 of regcode.api

Alternatively just update your version of regcode to the latest stable!

#2

julient - June 22, 2009 - 12:47

That solved the error, thanks.

#3

aidanlis - June 25, 2009 - 21:40
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.