$r = db_query('SELECT COUNT(*) FROM {invite} WHERE reg_code = "%s"', $reg_code);
} while ((int)db_result($result) > 0);Either $r or $result, but i guess this mix is not working.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| _invite_create_regcode.patch.txt | 828 bytes | knseibert |
Comments
Comment #1
ajk commentedThanks (you're on a role ;)
Fixed: http://drupal.org/cvs?commit=52122 & http://drupal.org/cvs?commit=52123
Comment #2
(not verified) commented