X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fadmin.pl;h=0592a69b17f5c5e1422e37686d2b414d759df32a;hb=4c9d45bf6dc8697327cc6e49f94c56426e67354f;hp=9b3969b39c961ea7804956aaeccaad5f3c4ac8ea;hpb=2974447a09f906718f8f2485d62a32c2cbdb56b5;p=kivitendo-erp.git diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 9b3969b39..0592a69b1 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -566,7 +566,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");