mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
#13012 fix event_custom_id on api_create_event
This commit is contained in:
parent
b12a9bfbad
commit
ec523ff788
@ -13175,10 +13175,12 @@ function api_set_create_event($id, $trash1, $other, $returnType)
|
||||
$values['id_extra'] = '';
|
||||
}
|
||||
|
||||
if ($other['data'][21] != '') {
|
||||
$values['event_custom_id'] = $other['data'][21];
|
||||
} else {
|
||||
$values['event_custom_id'] = '';
|
||||
if (empty($values['event_custom_id']) === true) {
|
||||
if ($other['data'][21] != '') {
|
||||
$values['event_custom_id'] = $other['data'][21];
|
||||
} else {
|
||||
$values['event_custom_id'] = '';
|
||||
}
|
||||
}
|
||||
|
||||
$custom_data = base64_decode($values['custom_data']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user