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

SF.net SVN: ledger-smb:[5482] trunk/bin/aa.pl



Revision: 5482
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5482&view=rev
Author:   einhverfr
Date:     2013-01-05 07:43:43 +0000 (Sat, 05 Jan 2013)
Log Message:
-----------
Since we are doing a full round trip regarding the editing after post, we were ending up with one blank line per line saved.  This has been corrected.

Modified Paths:
--------------
    trunk/bin/aa.pl

Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl	2013-01-05 06:03:57 UTC (rev 5481)
+++ trunk/bin/aa.pl	2013-01-05 07:43:43 UTC (rev 5482)
@@ -1367,7 +1367,10 @@
 	{
         	$form->{callback}.= qq|&batch_id=$form->{batch_id}|;
 	}
-        if($form->{separate_duties}){edit();}
+        if ($form->{separate_duties}){
+            $form->{rowcount} = 0;
+            edit();
+        }
         else {$form->redirect( $locale->text('Transaction posted!') );}
     }
     else {

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