From 9b46a838703817e590648ebd4cab90cd6525ebc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Tue, 27 Dec 2011 14:13:16 +0100 Subject: [PATCH] registration fix --- includes/pages/guest_login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); } }