registration fix

This commit is contained in:
Philip Häusler 2011-12-27 14:40:16 +01:00
parent 9b46a83870
commit e0ffeb1005
1 changed files with 6 additions and 5 deletions

View File

@ -62,9 +62,10 @@ function guest_register() {
}
}
if ($enable_tshirt_size) {
if (isset ($_REQUEST['tshirt_size']) && isset ($tshirt_sizes[$_REQUEST['tshirt_size']]))
$tshirt_size = $_REQUEST['tshirt_size'];
else {
else
$ok = false;
}