Nachtrag zu fef43fa: Zwischensumme muss nun über soldtotal aggregieren.
[kivitendo-erp.git] / bin / mozilla / admin.pl
index 9b3969b..6d518fc 100755 (executable)
@@ -61,6 +61,13 @@ require "bin/mozilla/admin_printer.pl";
 
 use strict;
 
+# parserhappy(R):
+
+#  $locale->text('periodic')
+#  $locale->text('income')
+#  $locale->text('perpetual')
+#  $locale->text('balance')
+
 our $cgi;
 our $form;
 our $locale;
@@ -566,7 +573,7 @@ sub save_user {
               chdir($oldcurrdir);
               $form->error("$ERRNO: symlink $File::Find::name");
             }
-          } elsif (-f $_ && $_ =~ m/.*?\.(html|tex|sty|odt|xml|txb|eps|pdf|png|jpg)$/) {
+          } elsif (-f $_) {
             if (!copy($_, File::Spec->catfile($newdir, $File::Find::name))) {
               chdir($oldcurrdir);
               $form->error("$ERRNO: cp $File::Find::name");