diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-15 00:48:06 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-08-15 00:48:06 +0000 |
commit | 3c9c267b938952847840d0ebde2f4c6e33145633 (patch) | |
tree | f359d0575542bbf36a99be3199128088ee378ec1 | |
parent | aeb824fb29c913d0f24a49b15e2fb105f3cf9503 (diff) |
Rethinking Jeffk's till patch
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2268 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | LedgerSMB/AA.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm index 3eb59fe0..82ea62a1 100644 --- a/LedgerSMB/AA.pm +++ b/LedgerSMB/AA.pm @@ -952,8 +952,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} ); |