Fixed missed params to update max_agents

This commit is contained in:
Jose Gonzalez 2021-04-12 13:20:21 +02:00
parent 141daec1ab
commit 3b4927e9b0
1 changed files with 2 additions and 0 deletions

View File

@ -8492,6 +8492,7 @@ function api_set_update_group($id_group, $thrash2, $other, $thrash3)
$custom_id = $other['data'][6];
$contact = $other['data'][7];
$other = $other['data'][8];
$maxAgents = $other['data'][9];
$return = db_process_sql_update(
'tgrupo',
@ -8505,6 +8506,7 @@ function api_set_update_group($id_group, $thrash2, $other, $thrash3)
'custom_id' => $custom_id,
'contact' => $contact,
'other' => $other,
'max_agents' => $maxAgents,
],
['id_grupo' => $id_group]
);