summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-02-22 22:52:03 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-02-22 22:52:03 +0000
commit7ad073d4275f36e783d5b504397f3c04a2cb2494 (patch)
treee9ff7d9e77f1cd0ff74106b352f47a50e65da08c
parent6dcc7a676467129bc31582917346cad7d6af8568 (diff)
Fixing bug 1665716
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@833 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xbin/admin.pl2
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;