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

SF.net SVN: ledger-smb: [1946] trunk/LedgerSMB/CA.pm



Revision: 1946
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1946&view=rev
Author:   einhverfr
Date:     2007-12-05 10:47:52 -0800 (Wed, 05 Dec 2007)

Log Message:
-----------
Fixing error in account transaction report

Modified Paths:
--------------
    trunk/LedgerSMB/CA.pm

Modified: trunk/LedgerSMB/CA.pm
===================================================================
--- trunk/LedgerSMB/CA.pm	2007-12-05 06:29:56 UTC (rev 1945)
+++ trunk/LedgerSMB/CA.pm	2007-12-05 18:47:52 UTC (rev 1946)
@@ -138,10 +138,10 @@
 
     my $fromdate_where;
     my $todate_where;
-
+    
     ( $form->{fromdate}, $form->{todate} ) =
       $form->from_to( $form->{year}, $form->{month}, $form->{interval} )
-      if $form->{year} && $form->{month};
+      if !$form->{fromdate} && !$form->{todate};
 
     my $fdate;
     if ( $form->{fromdate} ) {


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