registration fix

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

@ -62,10 +62,11 @@ function guest_register() {
} }
} }
if (isset ($_REQUEST['tshirt_size']) && isset ($tshirt_sizes[$_REQUEST['tshirt_size']])) if ($enable_tshirt_size) {
$tshirt_size = $_REQUEST['tshirt_size']; if (isset ($_REQUEST['tshirt_size']) && isset ($tshirt_sizes[$_REQUEST['tshirt_size']]))
else { $tshirt_size = $_REQUEST['tshirt_size'];
$ok = false; else
$ok = false;
} }
if (isset ($_REQUEST['password']) && strlen($_REQUEST['password']) >= 6) { if (isset ($_REQUEST['password']) && strlen($_REQUEST['password']) >= 6) {
@ -119,7 +120,7 @@ function guest_register() {
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