Commit 212c590713bc1ceee733a2769a296a63b783e828

Authored by Caroline Salib
1 parent 7e08e2ff
Exists in master

Corrigido problema ao cadastrar pessoa juridica;

portabilis/ieducar#167
ieducar/intranet/include/pessoa/clsJuridica.inc.php
... ... @@ -207,7 +207,7 @@ class clsJuridica
207 207 {
208 208 $int_cnpj = substr($int_cnpj,$i);
209 209 }
210   - $where .= "{$whereAnd} cnpj ILIKE '%$int_cnpj%' ";
  210 + $where .= "{$whereAnd} cnpj::varchar ILIKE '%$int_cnpj%' ";
211 211 $whereAnd = " AND ";
212 212 }
213 213  
... ... @@ -306,4 +306,4 @@ class clsJuridica
306 306 return false;
307 307 }
308 308 }
309   -?>
310 309 \ No newline at end of file
  310 +?>
... ...