fix x modifiche vobarno

This commit is contained in:
2021-05-20 23:08:50 +02:00
parent 9498abdae1
commit 5e4fe01a4d
2 changed files with 4 additions and 6 deletions

View File

@@ -232,7 +232,7 @@ $dbh->disconnect;
# Ciclo x email totale rilevazioni
foreach my $tool ( sort grep { /DT|PT/ } keys %ToolName ) {
if ( $ToolName{$tool}{'ToolState'} eq 'Monitoring Completed' ) {
if ( ! defined $ToolName{$tool}{'ToolState'} or ($ToolName{$tool}{'ToolState'} eq 'Monitoring Completed') ) {
next; #skip dei tool nello stato del test
}