X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/82c41aacb54996848276f5cb00c6587bf20f03a7..2ef21b8f2aaae439a9408977458bdeb9b0fd9e25:/bin/mozilla/admin.pl diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 3fba37cc8..a24272b8b 100644 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -438,7 +438,7 @@ sub save { open(TEMP, "$templates/$file") or $form->error("$templates/$file : $ERRNO"); - $file =~ s/$form->{mastertemplates}-//; + $file =~ s/\Q$form->{mastertemplates}\E-//; open(NEW, ">$form->{templates}/$file") or $form->error("$form->{templates}/$file : $ERRNO");