summaryrefslogtreecommitdiff
path: root/www/invite.php
diff options
context:
space:
mode:
authorHorus32014-02-19 22:15:19 +0100
committerHorus32014-02-19 22:15:19 +0100
commit786428a5f2636c189e97111f7b706a5e0e4b6f30 (patch)
treefe54e74f644d559166f3fc6c85678d178276d908 /www/invite.php
parent56a9e2810315757f200b904c56694319a69fd321 (diff)
downloadfiles.iamfabulous.de-786428a5f2636c189e97111f7b706a5e0e4b6f30.tar.gz
Changed database schema again.
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;")
){