mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-22 16:43:23 -05:00
This make sures the template tmp value is defined before testing it.
This commit is contained in:
parent
28b332bb27
commit
a673116d7e
@ -140,7 +140,7 @@ sub read_contents_file {
|
|||||||
$text_insert->backward_delete($text_insert->get_length());
|
$text_insert->backward_delete($text_insert->get_length());
|
||||||
|
|
||||||
# If the template changes it is time to clear all the values.
|
# 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 %Included;
|
||||||
undef %replaced_by;
|
undef %replaced_by;
|
||||||
undef %links_to;
|
undef %links_to;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user