core/domain/services/graphql/data/mutations/DatetimeMutation.php 1 location
|
@@ 50-52 (lines=3) @@
|
47 |
|
$args['DTT_EVT_end'] = sanitize_text_field($input['endDate']); |
48 |
|
} |
49 |
|
|
50 |
|
if (! empty($input['tickets'])) { |
51 |
|
$args['tickets'] = array_map('sanitize_text_field', (array) $input['tickets']); |
52 |
|
} |
53 |
|
|
54 |
|
// Likewise the other fields... |
55 |
|
|
core/domain/services/graphql/data/mutations/TicketMutation.php 1 location
|
@@ 39-41 (lines=3) @@
|
36 |
|
$args['TKT_price'] = floatval($input['price']); |
37 |
|
} |
38 |
|
|
39 |
|
if (! empty($input['datetimes'])) { |
40 |
|
$args['datetimes'] = array_map('sanitize_text_field', (array) $input['datetimes']); |
41 |
|
} |
42 |
|
|
43 |
|
// Likewise the other fields... |
44 |
|
|