Closed (fixed)
Project:
Registration codes
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2009 at 22:54 UTC
Updated:
25 Jun 2009 at 21:40 UTC
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?
Comments
Comment #1
aidanlis commentedJust change is_onetime to maxuses on line 120 of regcode.api
Alternatively just update your version of regcode to the latest stable!
Comment #2
julient commentedThat solved the error, thanks.
Comment #3
aidanlis commented