#12350 added agent name editing 2
This commit is contained in:
parent
9844f95f16
commit
151808b6bf
|
@ -1158,8 +1158,7 @@ if ($update_agent) {
|
||||||
// Force an update of the agent cache.
|
// Force an update of the agent cache.
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = db_process_sql_update('tagente', $values, ['id_agente' => $id_agente]);
|
$result = (bool) db_process_sql_update('tagente', $values, ['id_agente' => $id_agente]);
|
||||||
|
|
||||||
if ($result === false && $update_custom_result == false) {
|
if ($result === false && $update_custom_result == false) {
|
||||||
ui_print_error_message(
|
ui_print_error_message(
|
||||||
__('There was a problem updating the agent')
|
__('There was a problem updating the agent')
|
||||||
|
|
Loading…
Reference in New Issue