summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 06:25:29 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 06:25:29 +0000
commit09f5d597213bde1837554d1b8c853aed24abccbf (patch)
tree4e2bbc8209e682524ff4407e6c20b0776a186cec /LedgerSMB
parent0303f21d687059f314eaeef17e40eba99d22001f (diff)
Fixed bug in custom fields handling
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@140 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 2e0f6b4b..2ef55b7a 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -1331,10 +1331,10 @@ sub get_custom_queries {
$query .= " FROM $_";
}
if ($query_type eq 'SELECT' or $query_type eq 'UPDATE'){
- $query .= " WHERE field_id = ?";
+ $query .= " WHERE row_id = ?";
}
if ($query_type eq 'INSERT'){
- $query .= " field_id) VALUES ($ins_values ?)";
+ $query .= " row_id) VALUES ($ins_values ?)";
}
if ($query_type eq 'SELECT'){
push @rc, [ $query ];