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
1 changed files with 3 additions and 1 deletions

View File

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