Store organisator email
This commit is contained in:
1 parent
a69d83bc0a
commit
3782ef7282
5 files changed
+11
-4
No files matched your search
@@ -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)) {
|
||||
|
||||
@@ -8,7 +8,7 @@ class UpdateEvent {
|
||||
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)) {
|
||||
|
||||
Reference in new issue
Block a user