summaryrefslogtreecommitdiff
path: root/LedgerSMB/AM.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-14 04:34:26 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-14 04:34:26 +0000
commit0130ab3a802f052f035f74af5202db93170185d4 (patch)
tree46df764c5c01835b4a0fabde4f93337b969ccf1b /LedgerSMB/AM.pm
parent3ddf5ddd63ab23ed22bb77f40616f100f8140380 (diff)
Fix parametrisation of a query
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@578 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/AM.pm')
-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);