[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5980] branches/1.3/LedgerSMB/Template/HTML.pm
- Subject: SF.net SVN: ledger-smb:[5980] branches/1.3/LedgerSMB/Template/HTML.pm
- From: ..hidden..
- Date: Thu, 29 Aug 2013 11:03:47 +0000
Revision: 5980
http://sourceforge.net/p/ledger-smb/code/5980
Author: einhverfr
Date: 2013-08-29 11:03:46 +0000 (Thu, 29 Aug 2013)
Log Message:
-----------
Fixing uninitialized value warnings when cache_templates is set to 1.
Modified Paths:
--------------
branches/1.3/LedgerSMB/Template/HTML.pm
Modified: branches/1.3/LedgerSMB/Template/HTML.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/HTML.pm 2013-08-29 10:41:59 UTC (rev 5979)
+++ branches/1.3/LedgerSMB/Template/HTML.pm 2013-08-29 11:03:46 UTC (rev 5980)
@@ -120,8 +120,11 @@
$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'],
+ INCLUDE_PATH => $paths,
ENCODING => 'utf8',
START_TAG => quotemeta('<?lsmb'),
END_TAG => quotemeta('?>'),
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