X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Famtemplates.pl;h=0045635572347460510e88339e6b1af80077a969;hb=612e3ebee1757bdc62db37fa348f028c36157ed4;hp=0622b021317420aa8812f6f208734b0e16ffaf2c;hpb=6348bffb3ca90327f8dd042bfd0a89802b269b79;p=kivitendo-erp.git diff --git a/bin/mozilla/amtemplates.pl b/bin/mozilla/amtemplates.pl index 0622b0213..004563557 100644 --- a/bin/mozilla/amtemplates.pl +++ b/bin/mozilla/amtemplates.pl @@ -210,7 +210,7 @@ sub display_template_form { my $fname = $File::Find::name; # remove template dir from name - $fname =~ s|^$template_dir/||; + $fname =~ s|^\Q$template_dir\E/||; # remove .tex from name $fname =~ s|.tex$||;