check for agent name not empty
This commit is contained in:
parent
1de44686a1
commit
8a43fbfd1f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue