[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [833] trunk/bin/admin.pl



Revision: 833
          http://svn.sourceforge.net/ledger-smb/?rev=833&view=rev
Author:   einhverfr
Date:     2007-02-22 14:52:03 -0800 (Thu, 22 Feb 2007)

Log Message:
-----------
Fixing bug 1665716

Modified Paths:
--------------
    trunk/bin/admin.pl

Modified: trunk/bin/admin.pl
===================================================================
--- trunk/bin/admin.pl	2007-02-22 22:51:19 UTC (rev 832)
+++ trunk/bin/admin.pl	2007-02-22 22:52:03 UTC (rev 833)
@@ -357,7 +357,7 @@
 	}
 
 	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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.