From d8de02db34f5b7cbf51e493b767b85ad7a58cc68 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 19 Nov 2017 11:59:37 +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 78018375..7f85f833 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -218,9 +218,10 @@ function guest_register() `Sprache`, `arrival_date`, `planned_arrival_date`, - `force_active` + `force_active`, + `lastLogIn` ) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE, 0) ', [ config('theme'),