From 704b2321b7430a0dde13d8a74130af4f3b4369ed Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Tue, 29 May 2007 08:09:22 +0000 Subject: [PATCH] Bug: Bind Variable wurde mitgegeben, aber nicht verwendet --- SL/IR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/IR.pm b/SL/IR.pm index b6840a54c..748a9c159 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -673,7 +673,7 @@ sub delete_invoice { do_query($form, $dbh, $query); # delete AP record - my $query = qq|DELETE FROM ap WHERE id = $form->{id}|; + my $query = qq|DELETE FROM ap WHERE id = ?|; do_query($form, $dbh, $query, conv_i($form->{id})); my $rc = $dbh->commit; -- 2.20.1