fix problem with default value when registering

This commit is contained in:
msquare 2017-11-19 11:45:22 +01:00
parent eec161a852
commit c62833bb51
1 changed files with 3 additions and 2 deletions

View File

@ -214,9 +214,10 @@ function guest_register()
`CreateDate`, `CreateDate`,
`Sprache`, `Sprache`,
`arrival_date`, `arrival_date`,
`planned_arrival_date` `planned_arrival_date`,
`force_active`
) )
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE)
', ',
[ [
config('theme'), config('theme'),