diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-06 16:22:54 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-06 16:22:54 +0000 |
commit | 11f0f1a20492221395d6b4dde29f5d0419cae1ad (patch) | |
tree | 90cf868dafd33cb1ed85acce1147b5a8e925869b | |
parent | c6ce7d1082f8b37f209b27dfefa39148e256ef68 (diff) |
Fix memo searches
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1521 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | LedgerSMB/GL.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm index 0c747763..e069c930 100644 --- a/LedgerSMB/GL.pm +++ b/LedgerSMB/GL.pm @@ -257,7 +257,7 @@ sub all_transactions { } if ( $form->{memo} ne "" ) { - $var = $form->like( lc $form->{memo} ); + $var = $dbh->quote( $form->like( lc $form->{memo} ) ); $glwhere .= " AND lower(ac.memo) LIKE $var"; $arwhere .= " AND lower(ac.memo) LIKE $var"; $apwhere .= " AND lower(ac.memo) LIKE $var"; |