fixed bug: update owner_user when validating an event

This commit is contained in:
alejandro-campos 2020-04-21 17:57:36 +02:00
parent a4bd4a4c5d
commit d6ac646046

View File

@ -612,12 +612,14 @@ function events_update_status($id_evento, $status, $filter=null, $history=false)
'UPDATE %s 'UPDATE %s
SET estado = %d, SET estado = %d,
ack_utimestamp = %d, ack_utimestamp = %d,
id_usuario = "%s" id_usuario = "%s",
owner_user = "%s"
WHERE id_evento IN (%s)', WHERE id_evento IN (%s)',
$table, $table,
$status, $status,
time(), time(),
$config['id_user'], $config['id_user'],
$config['id_user'],
join(',', $target_ids) join(',', $target_ids)
); );
} }