diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-15 00:46:28 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-15 00:46:28 +0000 |
commit | 6091d96e247809aea9cb09ac0086f624a50d1b67 (patch) | |
tree | 971e11cb7020815ef5dbd6d3a118f0e38df2866f | |
parent | 5a544d0d7a549a68b85e8410ecdc390b30390dd9 (diff) |
rethinking Jeffk's till patch
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2267 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/AA.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm index 26055d62..664f5abe 100755 --- a/LedgerSMB/AA.pm +++ b/LedgerSMB/AA.pm @@ -839,8 +839,9 @@ sub transactions { } if ( $form->{till} ne "" ) { + $form->{till} = $dbh->quote($form->{till}); $where .= " AND a.invoice = '1' - AND a.till = '$form->{till}'"; + AND a.till = $form->{till}"; if ( $myconfig->{role} eq 'user' ) { my $login = $dbh->quote( $form->{login} ); |