From 6b74705f3788c48b0659eb5a9c8fc54d805cde17 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 19 Nov 2017 12:00:42 +0100 Subject: [PATCH] fix problem with default values on registration --- includes/pages/guest_login.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 7f85f833..13801ee5 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -219,9 +219,10 @@ function guest_register() `arrival_date`, `planned_arrival_date`, `force_active`, - `lastLogIn` + `lastLogIn`, + `api_key` ) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE, 0) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE, 0, "") ', [ config('theme'),