X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fadmin.pl;h=02821989668c7a40ff5face5127cf67e358df650;hb=429203bfb57dd673aa807d749ab43c8e3332f8c8;hp=daae59a23b0c81a5992f1de721c49c68a09fe849;hpb=f373f98d676d433b7db20e3e74435a34029cac0f;p=kivitendo-erp.git diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index daae59a23..028219896 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -549,7 +549,7 @@ sub save_user { # copy templates to the directory opendir TEMPLATEDIR, "$templates/." or $form - error("$templates : $ERRNO"); - @templates = grep /$form->{mastertemplates}.*?\.(html|tex|sty|xml|txb)$/, + @templates = grep /$form->{mastertemplates}.*?\.(html|tex|sty|odt|xml|txb)$/, readdir TEMPLATEDIR; closedir TEMPLATEDIR;