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

SF.net SVN: ledger-smb:[2449] trunk/scripts/recon.pl



Revision: 2449
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2449&view=rev
Author:   einhverfr
Date:     2009-02-10 17:15:51 +0000 (Tue, 10 Feb 2009)

Log Message:
-----------
Correcting 500 error

Modified Paths:
--------------
    trunk/scripts/recon.pl

Modified: trunk/scripts/recon.pl
===================================================================
--- trunk/scripts/recon.pl	2009-02-07 01:05:21 UTC (rev 2448)
+++ trunk/scripts/recon.pl	2009-02-10 17:15:51 UTC (rev 2449)
@@ -267,7 +267,7 @@
 sub _display_report {
         my $recon = shift;
         $recon->get();
-        $recon->{can_approve} = $recon->is_allowed_role('recon_supervisor');
+        $recon->{can_approve} = $recon->is_allowed_role({allowed_roles => ['recon_supervisor']});
         $template = LedgerSMB::Template->new( 
             user=> $user,
             template => 'reconciliation/report', 


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