diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/admin.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/admin.pl b/bin/admin.pl index 0ecbe449..c5d82a42 100755 --- a/bin/admin.pl +++ b/bin/admin.pl @@ -357,7 +357,7 @@ sub form_header { } opendir TEMPLATEDIR, "${LedgerSMB::Sysconfig::templates}/." or $form->error(__FILE__.':'.__LINE__.': '."$templates : $!"); - @all = grep !/^\.\.?$/, readdir TEMPLATEDIR; + @all = grep !/(\.\.?|^\.?)/, readdir TEMPLATEDIR; closedir TEMPLATEDIR; @allhtml = sort grep /\.html/, @all; |