summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-16 13:52:23 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-16 13:52:23 +0000
commit3e85b59de65c240b1caca4dd2fbb715a681df179 (patch)
tree7315ddbd5cffbd35e97110e2cf9956e9042149bc
parent9395ae9e389c4ed362b99442da76056de8182274 (diff)
run_custom_queries update recursion fixed
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@216 4979c152-3d1c-0410-bac9-87ea11338e46
-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 @{$_};