summaryrefslogtreecommitdiff
path: root/includes/pages/guest_login.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-11-19 12:02:11 +0100
committermsquare <msquare@notrademark.de>2017-11-19 12:02:11 +0100
commitf9ab2697587911a2f96f82e8846d33925c3abdf1 (patch)
treee67853baa9c45b5b54bb3dd9e7b220d7696b1f72 /includes/pages/guest_login.php
parent6b74705f3788c48b0659eb5a9c8fc54d805cde17 (diff)
fix problem with default values on registration
Diffstat (limited to 'includes/pages/guest_login.php')
-rw-r--r--includes/pages/guest_login.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php
index 13801ee5..f7c191e4 100644
--- a/includes/pages/guest_login.php
+++ b/includes/pages/guest_login.php
@@ -220,9 +220,10 @@ function guest_register()
`planned_arrival_date`,
`force_active`,
`lastLogIn`,
- `api_key`
+ `api_key`,
+ `got_voucher`
)
- VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE, 0, "")
+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE, 0, "", 0)
',
[
config('theme'),