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

SF.net SVN: ledger-smb:[5975] trunk/LedgerSMB/Template/HTML.pm



Revision: 5975
          http://sourceforge.net/p/ledger-smb/code/5975
Author:   einhverfr
Date:     2013-08-28 09:19:55 +0000 (Wed, 28 Aug 2013)
Log Message:
-----------
Fix for uninitalized path warnings

Modified Paths:
--------------
    trunk/LedgerSMB/Template/HTML.pm

Modified: trunk/LedgerSMB/Template/HTML.pm
===================================================================
--- trunk/LedgerSMB/Template/HTML.pm	2013-08-26 10:07:26 UTC (rev 5974)
+++ trunk/LedgerSMB/Template/HTML.pm	2013-08-28 09:19:55 UTC (rev 5975)
@@ -123,6 +123,9 @@
 		$source = get_template($parent->{template});
 	}
         my $tempdir;
+        my $paths = [$parent->{include_path},'templates/demo','UI/lib'];
+        unshift @$paths, $parent->{include_path_lang} 
+            if defined $parent->{include_path_lang};
         my $arghash = {
 		INCLUDE_PATH => [$parent->{include_path_lang}, $parent->{include_path},'templates/demo','UI/lib'],
                 ENCODING => 'utf8',

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


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits