* Updated CGI DirHistory: added colors, added explanatory text.
[BackupPC.git] / lib / BackupPC / View.pm
index 357c9e3..5974a8b 100644 (file)
@@ -428,7 +428,7 @@ sub dirHistory
            my $a = $attr->get;
            foreach my $fileUM ( keys(%$a) ) {
                next if ( $a->{$fileUM}{type} != BPC_FTYPE_DELETED );
-               $files->{$fileUM}[$i] = undef;
+               $files->{$fileUM}[$i] = undef if ( defined($files->{$fileUM}) );
            }
        }
     }