1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-22 08:33:24 -05:00

This make sures the template tmp value is defined before testing it.

This commit is contained in:
freesource 2001-08-23 05:00:01 +00:00
parent 28b332bb27
commit a673116d7e

View File

@ -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;