From 7c53917208a057f1c7bc206d2e43ff7f3f6f781c Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Wed, 5 Oct 2016 22:21:13 -0300 Subject: [PATCH] Correção no método de inclusão de filtros em um LAYER. O nome da variável itens estava errado --- classesphp/classe_temas.php | 4 ++-- temas/.htaccess | 0 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 temas/.htaccess diff --git a/classesphp/classe_temas.php b/classesphp/classe_temas.php index 4c052fa..a86dfe4 100755 --- a/classesphp/classe_temas.php +++ b/classesphp/classe_temas.php @@ -525,9 +525,9 @@ $testa - Testa o filtro e retorna uma imagem. //testa o filtro $teste = $layer->querybyattributes($items[0],$filtro,1); if($teste != MS_SUCCESS){ - $teste = $this->layer->queryByAttributes($itens[0], mb_convert_encoding($filtro,"ISO-8859-1","UTF-8"), 1); + $teste = $this->layer->queryByAttributes($items[0], mb_convert_encoding($filtro,"ISO-8859-1","UTF-8"), 1); if($teste != MS_SUCCESS){ - $teste = $this->layer->queryByAttributes($itens[0], mb_convert_encoding($filtro,"UTF-8","ISO-8859-1"), 1); + $teste = $this->layer->queryByAttributes($items[0], mb_convert_encoding($filtro,"UTF-8","ISO-8859-1"), 1); $filtro = mb_convert_encoding($filtro,"UTF-8","ISO-8859-1"); } else{ diff --git a/temas/.htaccess b/temas/.htaccess old mode 100755 new mode 100644 index 332707b..332707b --- a/temas/.htaccess +++ b/temas/.htaccess -- libgit2 0.21.2