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

SF.net SVN: ledger-smb: [1436] trunk/LedgerSMB/GL.pm



Revision: 1436
          http://svn.sourceforge.net/ledger-smb/?rev=1436&view=rev
Author:   tetragon
Date:     2007-07-24 11:18:50 -0700 (Tue, 24 Jul 2007)

Log Message:
-----------
Fix for 1758251 and similar GIFI GL report issue

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

Modified: trunk/LedgerSMB/GL.pm
===================================================================
--- trunk/LedgerSMB/GL.pm	2007-07-22 06:52:27 UTC (rev 1435)
+++ trunk/LedgerSMB/GL.pm	2007-07-24 18:18:50 UTC (rev 1436)
@@ -329,14 +329,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.