X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ee3ab257a5a8f5d4d20ffcf5f3b8259b822037f2..5cf977e52788c523150fa19225b90914e6ddc909:/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");