I believe on line 338 :

// Load the code
$res = db_query('SELECT * FROM regcode WHERE '.$cond.' LIMIT 1', $param);

should be:

// Load the code
$res = db_query('SELECT * FROM {regcode} WHERE '.$cond.' LIMIT 1', $param);

Comments

aidanlis’s picture

Status: Patch (to be ported) » Fixed

Thanks, sorry for the delay in fixing this!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.