diff options
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/GL.pm | 2 |
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"; |