Merge branch 'ent-13012-17254-no-se-mantiene-el-event-custom-id-con-keep-in-process-status' into 'develop'

Ent 13012 17254 no se mantiene el event custom id con keep in process status

See merge request artica/pandorafms!7252
This commit is contained in:
Diego Muñoz-Reja 2024-04-23 08:12:34 +00:00
commit 88384fa29d

View File

@ -13175,10 +13175,12 @@ function api_set_create_event($id, $trash1, $other, $returnType)
$values['id_extra'] = ''; $values['id_extra'] = '';
} }
if ($other['data'][21] != '') { if (empty($values['event_custom_id']) === true) {
$values['event_custom_id'] = $other['data'][21]; if ($other['data'][21] != '') {
} else { $values['event_custom_id'] = $other['data'][21];
$values['event_custom_id'] = ''; } else {
$values['event_custom_id'] = '';
}
} }
$custom_data = base64_decode($values['custom_data']); $custom_data = base64_decode($values['custom_data']);