edit messages from form-data
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 1m0s

This commit is contained in:
betty 2026-01-12 12:06:09 +01:00
commit 4eafcd1459

View file

@ -137,13 +137,14 @@ function constructMessage()
$message .= "<hr/><p><b>";
$message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben";
$message .= "</b><br/>";
// foreach ( $arrAllCantons as $abbreviation )
// {
foreach ( $arrAllCantons as $abbreviation )
{
// if ( isset(filter_input(INPUT_POST, $abbreviation)) )
// {
// $message .= filter_input(INPUT_POST, $abbreviation) . "<br/>";
// }
// }
if (isset( $_POST[$abbreviation]) )
{
$message .= $_POST[$abbreviation] . "<br/>";
}
}
$message .= "</p>";
}