From a673116d7e6a23b3a2bd0952b703a532281b3304 Mon Sep 17 00:00:00 2001 From: freesource Date: Thu, 23 Aug 2001 05:00:01 +0000 Subject: [PATCH] This make sures the template tmp value is defined before testing it. --- BootRoot/Yard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index 5c7f505..02233a5 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -140,7 +140,7 @@ sub read_contents_file { $text_insert->backward_delete($text_insert->get_length()); # If the template changes it is time to clear all the values. - if ($contents_file_tmp ne $contents_file) { + if ($contents_file_tmp && $contents_file_tmp ne $contents_file) { undef %Included; undef %replaced_by; undef %links_to;