skip hosts without backups checked
[BackupPC.git] / lib / BackupPC / CGI / Archive.pm
index 6be934c..c6f2d40 100644 (file)
@@ -187,6 +187,7 @@ EOF
             next if ( !defined($In{"fcb$i"}) );
             my $name = $In{"fcb$i"};
             my $backupno = $In{"backup$i"};
+            next unless defined $backupno; # ASA - skip hosts without backups checked
             push(@HostList, $name);
             push(@BackupList, $backupno);
             $hiddenStr .= <<EOF;