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

SF.net SVN: ledger-smb:[6240] trunk/LedgerSMB/Report.pm

Revision: 6240
Author:   einhverfr
Date:     2013-11-07 10:34:16 +0000 (Thu, 07 Nov 2013)
Log Message:
Passing the request object on to the report's run_report function if it exists.  Reports SHOULD make such optional.

Modified Paths:

Modified: trunk/LedgerSMB/Report.pm
--- trunk/LedgerSMB/Report.pm	2013-11-07 08:28:39 UTC (rev 6239)
+++ trunk/LedgerSMB/Report.pm	2013-11-07 10:34:16 UTC (rev 6240)
@@ -177,7 +177,7 @@
     my $template;
     my $testref = $self->rows;
-    $self->run_report if !defined $testref;
+    $self->run_report($request) if !defined $testref;
     # This is a hook for other modules to use to override the default
     # template --CT
     eval {$template = $self->template};

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

November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
Ledger-smb-commits mailing list