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

CommentFileSizeAuthor
_invite_create_regcode.patch.txt828 bytesknseibert

Comments

ajk’s picture

Version: 4.7.x-1.x-dev » 4.7.x-1.2
Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)