summaryrefslogtreecommitdiff
path: root/www/invite.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/invite.php')
-rw-r--r--www/invite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/invite.php b/www/invite.php
index 471e88c..2756366 100644
--- a/www/invite.php
+++ b/www/invite.php
@@ -41,7 +41,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST') {
if($db->exec("
BEGIN TRANSACTION;
- INSERT INTO user (id, name, senpai, key, status, email) VALUES (NULL, NULL, '$id', '$key', 0, '$safe_email');
+ INSERT INTO user (id, name, email, senpai, key, status) VALUES (NULL, NULL, '$safe_email', '$id', '$key', 0);
UPDATE user SET invites='$invite' WHERE id='$id';
COMMIT;")
){