diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-06-11 04:40:57 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-06-11 04:40:57 +0000 |
commit | 916298e0a26fad5489abc5efd1a98d8ee69f65e0 (patch) | |
tree | d0e2e4d593558606a877c0f4388f274827c588ed | |
parent | 034a65f42792f476f31779649d7608c038dd0341 (diff) |
Fixing error searching by address
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1262 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/CT.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/CT.pm b/LedgerSMB/CT.pm index 1477b9fc..e40b3336 100755 --- a/LedgerSMB/CT.pm +++ b/LedgerSMB/CT.pm @@ -608,7 +608,7 @@ sub search { if ( $form->{address} ne "" ) { $var = $dbh->quote( $form->like( lc $form->{address} ) ); $where .= -" AND (lower(ct.address1) LIKE $var OR lower(ct.address2) LIKE '$var')"; +" AND (lower(ct.address1) ILIKE $var)"; } if ( $form->{startdatefrom} ) { |