From f9ab2697587911a2f96f82e8846d33925c3abdf1 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 19 Nov 2017 12:02:11 +0100 Subject: fix problem with default values on registration --- includes/pages/guest_login.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'includes/pages/guest_login.php') 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'), -- cgit v1.2.3-70-g09d2