From 8a43fbfd1f1504ff8c812fac1bd476041c04e024 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Wed, 21 Feb 2024 15:27:01 +0100 Subject: [PATCH] check for agent name not empty --- pandora_server/util/pandora_manage.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 79315af00f..ec73dd827c 100755 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -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) {