registration fix

main
Philip Häusler 13 years ago
parent d3b51174b6
commit 9b46a83870

@ -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)); 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")); success(Get_Text("makeuser_writeOK4"));
if (!isset ($_SESSION['uid'])) //if (!isset ($_SESSION['uid']))
redirect(page_link_to('login')); redirect(page_link_to('login'));
} }
} }

Loading…
Cancel
Save