diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 22:49:52 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 22:49:52 +0000 |
commit | ddf4a47f8f0714c1b4f63d889e55f9d88729c3c7 (patch) | |
tree | 98ae281921447a5218a14bdb972a232d7cc7af3c /bin | |
parent | 5e59c4f19ca1f7709a9336a9b1dd6c2e83486ca3 (diff) |
Fixing bug 1665716
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@831 4979c152-3d1c-0410-bac9-87ea11338e46
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 c93a24fc..0fa468cb 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; |