Changeset 7515


Ignore:
Timestamp:
11/13/12 16:00:38 (8 years ago)
Author:
rafaelgobara
Message:

Ticket #3168 - Ajuste para cidades que possuem apostofre no nome.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/local/classes/class.wf_location.php

    r7440 r7515  
    211211                        c.id_state = s.id_state AND 
    212212                        s.id_country = 'BR' AND 
    213                         TO_ASCII(c.city_name) ILIKE TO_ASCII('" . $key . "%') 
     213                        TO_ASCII(c.city_name) ILIKE TO_ASCII('" . pg_escape_string($key) . "%') 
    214214                        " . $where . " 
    215215                ORDER BY 
Note: See TracChangeset for help on using the changeset viewer.