summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/AM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm
index 6d72df56..e99b3e3c 100755
--- a/LedgerSMB/AM.pm
+++ b/LedgerSMB/AM.pm
@@ -327,7 +327,7 @@ sub get_gifi {
my $query = qq|
SELECT accno, description
FROM gifi
- WHERE accno = '$form->{accno}'|;
+ WHERE accno = ?|;
$sth = $dbh->prepare($query);
$sth->execute($form->{accno}) || $form->dberror($query);