keep user id

This commit is contained in:
alejandro.campos@artica.es 2023-07-28 12:31:20 +02:00
parent cf26f4c32a
commit 75219fb465
1 changed files with 2 additions and 1 deletions

View File

@ -13106,7 +13106,7 @@ function api_set_create_event($id, $trash1, $other, $returnType)
if ($other['data'][18] != '') {
$values['id_extra'] = $other['data'][18];
$sql_validation = 'SELECT id_evento,estado,ack_utimestamp
$sql_validation = 'SELECT id_evento,estado,ack_utimestamp,id_usuario
FROM tevento
WHERE estado IN (0,2) AND id_extra ="'.$other['data'][18].'";';
@ -13120,6 +13120,7 @@ function api_set_create_event($id, $trash1, $other, $returnType)
) {
$values['status'] = 2;
$ack_utimestamp = $val['ack_utimestamp'];
$values['id_usuario'] = $val['id_usuario'];
}
api_set_validate_event_by_id($val['id_evento']);