fix problem with default values on registration

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

View File

@ -219,9 +219,10 @@ function guest_register()
`arrival_date`, `arrival_date`,
`planned_arrival_date`, `planned_arrival_date`,
`force_active`, `force_active`,
`lastLogIn` `lastLogIn`,
`api_key`
) )
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE, 0) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE, 0, "")
', ',
[ [
config('theme'), config('theme'),