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