From b5e2bbd552bf2c816645d0913527da5a77a3d572 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 12 Aug 2008 00:59:41 +0000 Subject: Applying jeffk's patch for 1877860 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2246 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/OE.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm index 6633c7e9..2a29c5d0 100755 --- a/LedgerSMB/OE.pm +++ b/LedgerSMB/OE.pm @@ -2042,7 +2042,7 @@ sub get_inventory { LEFT JOIN partsgroup pg ON (p.partsgroup_id = pg.id) LEFT JOIN warehouse w ON (w.id = i.warehouse_id) WHERE (i.warehouse_id = $fromwarehouse_id OR - i.warehouse_id IS NULL)) + i.warehouse_id IS NULL) $where GROUP BY p.id, p.partnumber, p.description, pg.partsgroup, w.description, i.warehouse_id -- cgit v1.2.3