summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ];