]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/admin.pl
...und das gemoddete Templating
[mfinanz.git] / bin / mozilla / admin.pl
index 8cd34c35e225207fb69048c50a9f63a8b63865d6..a24272b8ba375a4eead01c91bd57a17cbbd0bb1f 100644 (file)
@@ -168,7 +168,7 @@ sub add_user {
   my $myconfig = {
     "vclimit"      => 200,
     "countrycode"  => "de",
-    "numberformat" => "1000,00",
+    "numberformat" => "1.000,00",
     "dateformat"   => "dd.mm.yy",
     "stylesheet"   => "lx-office-erp.css",
     "menustyle"    => "v3",
@@ -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");