diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-14 04:34:26 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-14 04:34:26 +0000 |
commit | 0130ab3a802f052f035f74af5202db93170185d4 (patch) | |
tree | 46df764c5c01835b4a0fabde4f93337b969ccf1b /LedgerSMB/AM.pm | |
parent | 3ddf5ddd63ab23ed22bb77f40616f100f8140380 (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-x | LedgerSMB/AM.pm | 2 |
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); |