summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/Form.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 7e206071..025c4fa2 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -1392,7 +1392,7 @@ sub run_custom_queries {
}
} elsif ($query_type eq 'UPDATE'){
@rc = $self->run_custom_queries(
- $tablename, $query_type, $linenum);
+ $tablename, 'INSERT', $linenum);
} elsif ($query_type eq 'SELECT'){
for (@rc){
$query = shift @{$_};