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

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



Revision: 6240
          http://sourceforge.net/p/ledger-smb/code/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:
--------------
    trunk/LedgerSMB/Report.pm

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
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits