fixed bug: calling api method create event not inserting agent name
This commit is contained in:
parent
14419759b0
commit
aaa2c6aa10
|
@ -9523,8 +9523,11 @@ function api_set_create_event($id, $trash1, $other, $returnType) {
|
|||
return;
|
||||
}
|
||||
$id_agent = $agent_cache['id_tagente'];
|
||||
|
||||
}
|
||||
|
||||
$values['id_agente'] = $id_agent;
|
||||
|
||||
if (!util_api_check_agent_and_print_error($id_agent, 'string', 'AR')) {
|
||||
if (is_metaconsole()) metaconsole_restore_db();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue