From d7026e04649e27ad0dbc3fc470ca20262455f982 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 29 Jun 2012 14:10:27 +0100 Subject: [PATCH] Copypasta in commonpath calculation. --- Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Template.pm b/Template.pm index 3698fb7..30192f2 100644 --- a/Template.pm +++ b/Template.pm @@ -404,7 +404,7 @@ sub set_template_dir { # And the common path, if possible if($self -> {"fallback"}) { $self -> {"commonpath"} = path_join($self -> {"scriptpath"}, $self -> {"basedir"}, $self -> {"fallback"}); - $self -> {"commonpath"} .= "/" unless($self -> {"templatepath"} =~ m|/$|); # templatepath must have trailing slash + $self -> {"commonpath"} .= "/" unless($self -> {"commonpath"} =~ m|/$|); # commonpath must have trailing slash } else { $self -> {"commonpath"} = $self -> {"templatepath"}; }