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

SF.net SVN: ledger-smb:[4624] branches/1.3/LedgerSMB/Template



Revision: 4624
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4624&view=rev
Author:   einhverfr
Date:     2012-03-28 13:24:46 +0000 (Wed, 28 Mar 2012)
Log Message:
-----------
Correcting a couple issues with the last commit

Modified Paths:
--------------
    branches/1.3/LedgerSMB/Template/CSV.pm
    branches/1.3/LedgerSMB/Template/TXT.pm

Modified: branches/1.3/LedgerSMB/Template/CSV.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/CSV.pm	2012-03-28 13:19:42 UTC (rev 4623)
+++ branches/1.3/LedgerSMB/Template/CSV.pm	2012-03-28 13:24:46 UTC (rev 4624)
@@ -124,7 +124,7 @@
 }
 
 sub postprocess {
-	my ($parent, ) = @_;
+	my $parent = shift;
 	$parent->{rendered} = "$parent->{outputfile}.csv" if $parent->{outputfile};
         if (!$parent->{rendered}){
             return "$parent->{template}.csv";

Modified: branches/1.3/LedgerSMB/Template/TXT.pm
===================================================================
--- branches/1.3/LedgerSMB/Template/TXT.pm	2012-03-28 13:19:42 UTC (rev 4623)
+++ branches/1.3/LedgerSMB/Template/TXT.pm	2012-03-28 13:24:46 UTC (rev 4624)
@@ -111,7 +111,7 @@
 }
 
 sub postprocess {
-    my ($self, $parent) = shift;
+    my ($parent) = shift;
     if (!$parent->{rendered}){
         return $parent->{template} . '.' get_extension($parent); 
     }

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