fix problem with default values on registration

This commit is contained in:
msquare 2017-11-19 12:02:11 +01:00
parent 6b74705f37
commit f9ab269758
1 changed files with 3 additions and 2 deletions

View File

@ -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'),