check for agent name not empty

This commit is contained in:
alejandro.campos@artica.es 2024-02-21 15:27:01 +01:00
parent 1de44686a1
commit 8a43fbfd1f
1 changed files with 0 additions and 5 deletions

View File

@ -3429,11 +3429,6 @@ sub cli_agent_update() {
my @id_agents;
my $id_agent;
# Check for mandatory fields.
if ($field eq 'agent_name' && !$new_value) {
}
if (defined $use_alias and $use_alias eq 'use_alias') {
@id_agents = get_agent_ids_from_alias($dbh,$agent_name);
foreach my $id (@id_agents) {