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

SF.net SVN: ledger-smb:[5022] trunk/LedgerSMB/Scripts/configuration.pm



Revision: 5022
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5022&view=rev
Author:   einhverfr
Date:     2012-07-21 12:15:07 +0000 (Sat, 21 Jul 2012)
Log Message:
-----------
correcting templates not showing up on configuration screen

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/configuration.pm

Modified: trunk/LedgerSMB/Scripts/configuration.pm
===================================================================
--- trunk/LedgerSMB/Scripts/configuration.pm	2012-07-20 12:49:06 UTC (rev 5021)
+++ trunk/LedgerSMB/Scripts/configuration.pm	2012-07-21 12:15:07 UTC (rev 5022)
@@ -159,11 +159,11 @@
     while( my $name = readdir(DIR)){
         next if ($name =~ /\./);
         if (-d $LedgerSMB::Sysconfig::templates.'/'.$name) {
-            $dirarray[$subdircount++] = {text => $name, value => $name};
+            push @dirarray, {text => $name, value => $name};
         }
     }
     closedir(DIR);
-    return @dirarray;
+    return ..hidden..;
 }
 
 =back

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