summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-08 20:25:45 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-08 20:25:45 +0000
commitd64dfcdab846e8e592c26b98c804ff3bfbe11090 (patch)
treef3057a3ecb9bc7142126c73b1418363ac1a34961
parentd04a93a26ce181d3e6395867f6cc8c6e98bda8fa (diff)
Terminate "is orphan" query string
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@193 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/IC.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm
index 32c409ec..0da7dd60 100755
--- a/LedgerSMB/IC.pm
+++ b/LedgerSMB/IC.pm
@@ -149,7 +149,7 @@ sub get_part {
UNION
SELECT parts_id
FROM jcitems
- WHERE parts_id = $id
+ WHERE parts_id = $id|;
($form->{orphaned}) = $dbh->selectrow_array($query);
$form->{orphaned} = !$form->{orphaned};