Commit 7eddddf587a951819f078ec37f498a88baca1a54

Authored by Edmar Moretti
1 parent 55885236

--no commit message

admin/admin.db
No preview for this file type
admin/php/classe_metaestat.php
... ... @@ -905,8 +905,7 @@ class Metaestat{
905 905 $sqlf = explode("/*SE*/",$sqlf)[1];
906 906 $sqlf = explode("/*SG*/",$sqlf);
907 907 $sqlf = $sqlf[0]." ".$sqlf[2];
908   - $sqlf = str_replace("__filtro__",$filtro,$sqlf);
909   -echo $sqlf;exit;
  908 + $sqlf = str_replace("__filtro__"," AND ".$filtro,$sqlf);
910 909 /*
911 910 if($sql["filtro"] == true){
912 911 if(!empty($filtro)){
... ... @@ -921,6 +920,7 @@ echo $sqlf;exit;
921 920 $sqlf .= " limit ".$limite;
922 921 }
923 922 $metaVariavel = $this->listaMedidaVariavel("",$id_medida_variavel);
  923 +
924 924 if(!empty($metaVariavel["codigo_estat_conexao"])){
925 925 $c = $this->listaConexao($metaVariavel["codigo_estat_conexao"],true);
926 926 $dbhold = $this->dbh;
... ...