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

SF.net SVN: ledger-smb: [1438] branches/1.2/LedgerSMB/GL.pm



Revision: 1438
          http://svn.sourceforge.net/ledger-smb/?rev=1438&view=rev
Author:   tetragon
Date:     2007-07-24 13:39:17 -0700 (Tue, 24 Jul 2007)

Log Message:
-----------
Fix for 1758251 and a similar gifi report issue

Modified Paths:
--------------
    branches/1.2/LedgerSMB/GL.pm

Modified: branches/1.2/LedgerSMB/GL.pm
===================================================================
--- branches/1.2/LedgerSMB/GL.pm	2007-07-24 20:29:24 UTC (rev 1437)
+++ branches/1.2/LedgerSMB/GL.pm	2007-07-24 20:39:17 UTC (rev 1438)
@@ -313,14 +313,14 @@
     }
 
     if ( $form->{gifi_accno} ) {
-        $var = $dbh->quote( $form->{gifiaccno} );
+        $var = $dbh->quote( $form->{gifi_accno} );
         $glwhere .= " AND c.gifi_accno = $var";
         $arwhere .= " AND c.gifi_accno = $var";
         $apwhere .= " AND c.gifi_accno = $var";
     }
 
     if ( $form->{category} ne 'X' ) {
-        $var = $dbh->quote( $form->{gifiaccno} );
+        $var = $dbh->quote( $form->{category} );
         $glwhere .= " AND c.category = $var";
         $arwhere .= " AND c.category = $var";
         $apwhere .= " AND c.category = $var";


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