summaryrefslogtreecommitdiff
path: root/LedgerSMB/GL.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-06 16:22:13 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-06 16:22:13 +0000
commitdb14e924017649a1e229e3a221787877d4f7d976 (patch)
treea89e86af6444b3c36e75993c0cf9bd97b108e798 /LedgerSMB/GL.pm
parent380735c947921d2be66f4523cd0e0142d93e28b3 (diff)
Fix memo searches.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1520 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/GL.pm')
-rwxr-xr-xLedgerSMB/GL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm
index d4e5e838..c232cbe7 100755
--- a/LedgerSMB/GL.pm
+++ b/LedgerSMB/GL.pm
@@ -241,7 +241,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";