#12350 added agent name editing 2

This commit is contained in:
Daniel Maya 2024-02-15 17:00:55 +01:00
parent 9844f95f16
commit 151808b6bf
1 changed files with 1 additions and 2 deletions

View File

@ -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')