Commit ee4e57245e4ea879b7fcd8354fcd5a571ce3bdd2
1 parent
a51a863b
Exists in
master
Correção no método de inclusão de filtros em um LAYER. O nome da variável itens estava errado
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
classesphp/classe_temas.php
... | ... | @@ -525,9 +525,9 @@ $testa - Testa o filtro e retorna uma imagem. |
525 | 525 | //testa o filtro |
526 | 526 | $teste = $layer->querybyattributes($items[0],$filtro,1); |
527 | 527 | if($teste != MS_SUCCESS){ |
528 | - $teste = $this->layer->queryByAttributes($itens[0], mb_convert_encoding($filtro,"ISO-8859-1","UTF-8"), 1); | |
528 | + $teste = $this->layer->queryByAttributes($items[0], mb_convert_encoding($filtro,"ISO-8859-1","UTF-8"), 1); | |
529 | 529 | if($teste != MS_SUCCESS){ |
530 | - $teste = $this->layer->queryByAttributes($itens[0], mb_convert_encoding($filtro,"UTF-8","ISO-8859-1"), 1); | |
530 | + $teste = $this->layer->queryByAttributes($items[0], mb_convert_encoding($filtro,"UTF-8","ISO-8859-1"), 1); | |
531 | 531 | $filtro = mb_convert_encoding($filtro,"UTF-8","ISO-8859-1"); |
532 | 532 | } |
533 | 533 | else{ | ... | ... |