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

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



Revision: 3028
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3028&view=rev
Author:   einhverfr
Date:     2010-07-21 16:05:00 +0000 (Wed, 21 Jul 2010)

Log Message:
-----------
Fixing anti-xsrf stuff on reconciliation

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

Modified: trunk/scripts/recon.pl
===================================================================
--- trunk/scripts/recon.pl	2010-07-21 16:03:52 UTC (rev 3027)
+++ trunk/scripts/recon.pl	2010-07-21 16:05:00 UTC (rev 3028)
@@ -334,7 +334,7 @@
         my $recon = shift;
         $recon->get();
         $recon->close_form;
-        $recon->open_form;
+        $recon->open_form({commit => 1});
         $recon->add_entries($recon->import_file('csv_file')) if !$recon->{submitted};
         $recon->{can_approve} = $recon->is_allowed_role({allowed_roles => ['recon_supervisor']});
         $recon->get();


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