From 9b46a838703817e590648ebd4cab90cd6525ebc4 Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Tue, 27 Dec 2011 14:13:16 +0100 Subject: registration fix --- includes/pages/guest_login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index dff87bbc..7d6362d3 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -118,7 +118,7 @@ function guest_register() { sql_query("INSERT INTO `UserAngelTypes` SET `user_id`=" . sql_escape($user_id) . ", `angeltype_id`=" . sql_escape($selected_angel_type_id)); success(Get_Text("makeuser_writeOK4")); - if (!isset ($_SESSION['uid'])) + //if (!isset ($_SESSION['uid'])) redirect(page_link_to('login')); } } -- cgit v1.2.3-70-g09d2