diff --git a/registration-system/admin/pages_infos.php b/registration-system/admin/pages_infos.php index ad4834f09965c1cd6b15240e1fe12c20f564b38f..3e229ef4c930e619dfa21ec229d10a7024adcf01 100644 --- a/registration-system/admin/pages_infos.php +++ b/registration-system/admin/pages_infos.php @@ -22,7 +22,7 @@ if(isset($_POST['note-content'])){ "leiter" => $_REQUEST['leiter'], "kontakt" => $_REQUEST['kontakt'], "max_bachelor" => $_REQUEST['max_bachelor'], - "regopen" => $_REQUEST['regopen'] == "penis" ? 1 : 0], + "regopen" => isset($_REQUEST['regopen']) ? 1 : 0], array("fahrt_id"=>$config_current_fahrt_id)); }