mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Minor fix (win. compat) ticket #3836
This commit is contained in:
parent
b40f0848e0
commit
fc854370cc
@ -4677,7 +4677,7 @@ sub pandora_disable_autodisable_agents ($$) {
|
||||
tagente.unknown_count>0 AND
|
||||
tagente.modo=2';
|
||||
my @agents_autodisabled = get_db_rows ($dbh, $sql);
|
||||
return if !defined (@agents_autodisabled);
|
||||
return if ($#agents_autodisabled < 0);
|
||||
|
||||
my $disable_agents = '';
|
||||
foreach my $agent (@agents_autodisabled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user