From c62833bb51b6951fb99bd99e0cd0825659330197 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 19 Nov 2017 11:45:22 +0100 Subject: [PATCH] fix problem with default value when registering --- 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 55855ac7..d8f28048 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -214,9 +214,10 @@ function guest_register() `CreateDate`, `Sprache`, `arrival_date`, - `planned_arrival_date` + `planned_arrival_date`, + `force_active` ) - VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW(), ?, NULL, ?, FALSE) ', [ config('theme'),