From 4001f47ebbc6ee935739c6f6af39a7e04fd938e8 Mon Sep 17 00:00:00 2001 From: Jamie McCarthy Date: Fri, 12 Dec 2003 20:18:54 +0000 Subject: [PATCH] Don't check bogus theme data types. --- bin/symlink-tool | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/symlink-tool b/bin/symlink-tool index eddeb5334..11d56765d 100755 --- a/bin/symlink-tool +++ b/bin/symlink-tool @@ -83,6 +83,7 @@ for my $key (@theme_htdocs_keys) { for my $key (qw( tasks misc )) { my $src_key = $key; $src_key =~ s/s$//; # theme "task" becomes theme_subdir_files "tasks" + next unless $theme_hr->{$src_key}; @{$theme_subdir_files{$key}} = ref($theme_hr->{$src_key}) && ref($theme_hr->{$src_key}) eq 'ARRAY' ? @{$theme_hr->{$src_key}}