diff --git a/static/php/message.php b/static/php/message.php index 2d2699a..1a6eea3 100644 --- a/static/php/message.php +++ b/static/php/message.php @@ -137,13 +137,14 @@ function constructMessage() $message .= "
";
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
$message .= "
";
-// foreach ( $arrAllCantons as $abbreviation )
-// {
+ foreach ( $arrAllCantons as $abbreviation )
+ {
// if ( isset(filter_input(INPUT_POST, $abbreviation)) )
-// {
-// $message .= filter_input(INPUT_POST, $abbreviation) . "
";
-// }
-// }
+ if (isset( $_POST[$abbreviation]) )
+ {
+ $message .= $_POST[$abbreviation] . "
";
+ }
+ }
$message .= "