Store organisator email

This commit is contained in:
2024-05-31 20:13:27 +02:00
parent a69d83bc0a
commit 3782ef7282
5 changed files with 11 additions and 4 deletions

View File

@ -8,7 +8,7 @@ class CreateEvent {
public function __construct() {
global $_POST, $_REQUEST, $dbHandler;
$use_data = ['event_name', 'startdatum', 'enddatum','max_participants', 'max_volunteers', 'amount_reduced', 'amount_default', 'amount_social', 'contributing_tribes'];
$use_data = ['event_name', 'event_email', 'startdatum', 'enddatum','max_participants', 'max_volunteers', 'amount_reduced', 'amount_default', 'amount_social', 'contributing_tribes'];
$post_data = [];
foreach ($_POST as $key => $value) {
if (in_array($key, $use_data)) {