From e1ccb647bf1d733adf8c285a0dea7265ff9e98ff Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 12 Aug 2008 16:35:34 +0000 Subject: Correcting bug 195974: error on pulling transactions by department git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2249 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/CA.pm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/LedgerSMB/CA.pm b/LedgerSMB/CA.pm index 61df47fd..c7a9b0bd 100755 --- a/LedgerSMB/CA.pm +++ b/LedgerSMB/CA.pm @@ -345,9 +345,6 @@ sub all_transactions { $todate_where $dpt_where $project|; - if ($d_id) { - push @queryargs, $d_id; - } push @queryargs, $id; if ($fdate) { push @queryargs, $fdate; @@ -378,9 +375,6 @@ sub all_transactions { $dpt_where $project|; - if ($d_id) { - push @queryargs, $d_id; - } push @queryargs, $id; if ($fdate) { push @queryargs, $fdate; @@ -411,9 +405,6 @@ sub all_transactions { $dpt_where $project |; - if ($d_id) { - push @queryargs, $d_id; - } push @queryargs, $id; if ($fdate) { push @queryargs, $fdate; -- cgit v1.2.3