From 0d58aaf44d56b8d9d1627f1e1852b834f7afa8be Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 30 Nov 2023 10:25:16 +0100 Subject: [PATCH] fix errors pandora_enterprise#12293 --- pandora_server/util/pandora_db.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_server/util/pandora_db.pl b/pandora_server/util/pandora_db.pl index 44b6d7d695..057dcdfd04 100755 --- a/pandora_server/util/pandora_db.pl +++ b/pandora_server/util/pandora_db.pl @@ -342,8 +342,8 @@ sub pandora_purgedb ($$$) { $conf->{'_days_autodisable_deletion'} * 8600 ); - foreach my $agents_autodisable_to_delete (@agents_to_delete) { - pandora_delete_agent($dbh, $agent_to_delete->{'id_agente'}); + foreach my $agent_autodisable_to_delete (@agents_autodisable_to_delete) { + pandora_delete_agent($dbh, $agent_autodisable_to_delete->{'id_agente'}); } }