Commit 7eddddf587a951819f078ec37f498a88baca1a54
1 parent
55885236
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
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; | ... | ... |